pub enum ExitClass {
Show 23 variants
ExceptionOrNmi,
ExternalInterrupt,
TripleFault,
InterruptWindow,
Cpuid,
Halt,
Pause,
IoPort,
ControlRegister,
DebugRegister,
Msr,
MonitorWait,
Apic,
EptViolation,
EptMisconfiguration,
PreemptionTimer,
Call,
ExtendedState,
Tlb,
Timestamp,
Cache,
EntryFailure,
Unknown,
}Expand description
Functional exit classes; the s9vm dispatcher routes on this classification rather than on the raw number.
Variants§
ExceptionOrNmi
Guest exception or NMI.
ExternalInterrupt
External interrupt (host IRQ to reinject).
TripleFault
Triple fault: the guest is dead, the host survives.
InterruptWindow
Interrupt or NMI window to open.
Cpuid
Guest cpuid.
Halt
Guest hlt.
Pause
Guest pause (wait loop).
IoPort
Access to an I/O port.
ControlRegister
Access to a control register.
DebugRegister
Access to a debug register.
Msr
MSR read/write.
MonitorWait
monitor/mwait or monitor trap flag.
Apic
APIC access (page, TPR, EOI).
EptViolation
Second-level translation violation (unmapped GPA).
EptMisconfiguration
Misconfigured second-level table (host bug).
PreemptionTimer
Guest time slice expired.
Call
Call from the guest to the host.
ExtendedState
Extended state (XSAVE/XCR0).
Tlb
Guest TLB invalidation.
Timestamp
Time stamp counter.
Cache
Cache instruction.
EntryFailure
Guest entry failure (guest state or MSR loading).
Unknown
Unclassified: to be handled by the slow path.
Trait Implementations§
impl Copy for ExitClass
impl Eq for ExitClass
impl StructuralPartialEq for ExitClass
Auto Trait Implementations§
impl Forget for ExitClass
impl Freeze for ExitClass
impl Move for ExitClass
impl RefUnwindSafe for ExitClass
impl Send for ExitClass
impl Sync for ExitClass
impl Unpin for ExitClass
impl UnsafeUnpin for ExitClass
impl UnwindSafe for ExitClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more