diff --git a/hypervisor/src/lib.rs b/hypervisor/src/lib.rs index 4eb41f6ee..0e2a198ae 100644 --- a/hypervisor/src/lib.rs +++ b/hypervisor/src/lib.rs @@ -53,13 +53,8 @@ mod device; pub use cpu::{HypervisorCpuError, Vcpu, VmExit}; pub use device::HypervisorDeviceError; pub use hypervisor::{Hypervisor, HypervisorError}; -#[cfg(all(feature = "kvm", target_arch = "x86_64"))] -pub use kvm::x86_64; #[cfg(all(feature = "kvm", target_arch = "aarch64"))] pub use kvm::{aarch64, GicState}; -// Aliased types exposed from both hypervisors -#[cfg(all(feature = "mshv", target_arch = "x86_64"))] -pub use mshv::x86_64; use std::sync::Arc; pub use vm::{ DataMatch, HypervisorVmError, InterruptSourceConfig, LegacyIrqSourceConfig, MsiIrqSourceConfig,