diff --git a/hypervisor/src/mshv/mod.rs b/hypervisor/src/mshv/mod.rs index a9469f93e..3c50cce85 100644 --- a/hypervisor/src/mshv/mod.rs +++ b/hypervisor/src/mshv/mod.rs @@ -13,6 +13,7 @@ use crate::hypervisor; use crate::vec_with_array_field; use crate::vm::{self, InterruptSourceConfig, VmOps}; use crate::HypervisorType; +#[cfg(target_arch = "x86_64")] use iced_x86::Register; use mshv_bindings::*; use mshv_ioctls::{set_registers_64, InterruptRequest, Mshv, NoDatamatch, VcpuFd, VmFd, VmType};