pub struct HypercallExit<'a> {
pub nr: u64,
pub args: [u64; 6],
pub ret: &'a mut u64,
pub longmode: u32,
}
Expand description
Information about a VcpuExit
triggered by an Hypercall (KVM_EXIT_HYPERCALL
).
Fields§
§nr: u64
The hypercall number.
args: [u64; 6]
The arguments for the hypercall.
ret: &'a mut u64
The return code to be indicated to the guest.
longmode: u32
Whether the hypercall was executed in long mode.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for HypercallExit<'a>
impl<'a> RefUnwindSafe for HypercallExit<'a>
impl<'a> Send for HypercallExit<'a>
impl<'a> Sync for HypercallExit<'a>
impl<'a> Unpin for HypercallExit<'a>
impl<'a> !UnwindSafe for HypercallExit<'a>
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