hypervisor: do not export VcpuExit

It is not used anywhere outside of the hypervisor crate.

Signed-off-by: Dev Rajput <t-devrajput@microsoft.com>
Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu 2022-07-14 10:05:30 +00:00 committed by Rob Bradford
parent f0ad7fc74f
commit 4a1eab11b4
2 changed files with 2 additions and 3 deletions

View File

@ -61,7 +61,7 @@ pub use kvm::{aarch64, GicState};
#[cfg(feature = "kvm")]
pub use kvm::{
ClockData, CpuState, CreateDevice, DeviceAttr, DeviceFd, IoEventAddress, IrqRoutingEntry,
MpState, VcpuEvents, VcpuExit, VmState,
MpState, VcpuEvents, VmState,
};
#[cfg(all(feature = "mshv", target_arch = "x86_64"))]
pub use mshv::x86_64;
@ -69,7 +69,7 @@ pub use mshv::x86_64;
#[cfg(all(feature = "mshv", target_arch = "x86_64"))]
pub use mshv::{
CpuState, CreateDevice, DeviceAttr, DeviceFd, IoEventAddress, IrqRoutingEntry, MpState,
VcpuEvents, VcpuExit, VmState,
VcpuEvents, VmState,
};
use std::sync::Arc;
pub use vm::{

View File

@ -67,7 +67,6 @@ impl fmt::Display for VcpuMshvState {
}
pub struct IrqRouting {}
pub enum VcpuExit {}
pub struct MpState {}
impl SegmentRegisterOps for SegmentRegister {