pub struct SvmExit {
pub code: u64,
pub info1: u64,
pub info2: u64,
pub next_rip: u64,
pub fault: Option<NestedFault>,
pub entry_failed: bool,
}Expand description
Information about a guest exit, copied out of the VMCB.
Fields§
§code: u64Raw exit code (u64::MAX = invalid guest state).
info1: u64Exit information 1.
info2: u64Exit information 2.
next_rip: u64Next sequential RIP, 0 when the CPU does not report it.
fault: Option<NestedFault>Decoded nested page fault, for an NPF exit.
entry_failed: boolTrue if vmrun rejected the guest state.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for SvmExit
impl Freeze for SvmExit
impl Move for SvmExit
impl RefUnwindSafe for SvmExit
impl Send for SvmExit
impl Sync for SvmExit
impl Unpin for SvmExit
impl UnsafeUnpin for SvmExit
impl UnwindSafe for SvmExit
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
Mutably borrows from an owned value. Read more
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,
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> ⓘ
Converts
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> ⓘ
Converts
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