mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-07 12:17:21 +00:00
hypervisor: mshv: Restrict dependency to x86
iced_x86 is only available on x86 architecture. Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
This commit is contained in:
parent
bc6acb842f
commit
ead4f767ff
@ -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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user