diff --git a/hypervisor/src/mshv/mod.rs b/hypervisor/src/mshv/mod.rs index ac5792979..f823c12ae 100644 --- a/hypervisor/src/mshv/mod.rs +++ b/hypervisor/src/mshv/mod.rs @@ -340,6 +340,7 @@ impl hypervisor::Hypervisor for MshvHypervisor { let vm_type = 0; self.create_vm_with_type(vm_type) } + #[cfg(target_arch = "x86_64")] /// /// Get the supported CpuID ///