From 1ac0e67245c958138e1fab82b79e40b71aa27ec1 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Fri, 31 Jan 2025 14:20:54 +0000 Subject: [PATCH] kata-ctl: Add stub of missing method for ppc `host_is_vmcontainer_capable` is required, but wasn't implemented for powerpc64, so copy the aarch64 approach @Amulyam24 Signed-off-by: stevenhorsman --- src/tools/kata-ctl/src/arch/powerpc64/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tools/kata-ctl/src/arch/powerpc64/mod.rs b/src/tools/kata-ctl/src/arch/powerpc64/mod.rs index b50f625bd1..a844b53953 100644 --- a/src/tools/kata-ctl/src/arch/powerpc64/mod.rs +++ b/src/tools/kata-ctl/src/arch/powerpc64/mod.rs @@ -31,4 +31,9 @@ mod arch_specific { // to get cpu details specific to powerpc architecture similar // to the goloang implementation of function getCPUDetails() } + + pub fn host_is_vmcontainer_capable() -> Result { + // TODO: Not implemented + Ok(true) + } }