From 4a00371fe8ae142a441244f1b56cbbecd7af0c13 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Wed, 20 Jul 2022 22:03:33 +0000 Subject: [PATCH] hypervisor: drop unused modules Signed-off-by: Wei Liu --- hypervisor/src/lib.rs | 5 ----- 1 file changed, 5 deletions(-) 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,