vmm, arch: CpuId is x86_64 specific so import from the x86_64 module

It will be removed as a top-level export from the hypervisor crate.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2022-05-11 17:10:04 +01:00
committed by Sebastien Boeuf
parent 4ff0686d37
commit cd0df05808
4 changed files with 7 additions and 6 deletions

View File

@@ -2603,7 +2603,7 @@ pub struct VmSnapshot {
pub clock: Option<hypervisor::ClockData>,
pub state: Option<hypervisor::VmState>,
#[cfg(all(feature = "kvm", target_arch = "x86_64"))]
pub common_cpuid: hypervisor::CpuId,
pub common_cpuid: hypervisor::x86_64::CpuId,
}
pub const VM_SNAPSHOT_ID: &str = "vm";