#[repr(C)]pub struct kvm_run {
pub request_interrupt_window: u8,
pub immediate_exit: u8,
pub padding1: [u8; 6],
pub exit_reason: u32,
pub ready_for_interrupt_injection: u8,
pub if_flag: u8,
pub flags: u16,
pub cr8: u64,
pub apic_base: u64,
pub exit_details: ExitDetails,
}
Expand description
The layout of the shared memory region used to communicate with the
KVM_RUN
ioctl request, which is mmap
ed from the VCPU’s file descriptor.
Fields§
§request_interrupt_window: u8
§immediate_exit: u8
§padding1: [u8; 6]
§exit_reason: u32
§ready_for_interrupt_injection: u8
§if_flag: u8
§flags: u16
§cr8: u64
§apic_base: u64
§exit_details: ExitDetails
Trait Implementations§
Auto Trait Implementations§
impl Freeze for kvm_run
impl RefUnwindSafe for kvm_run
impl Send for kvm_run
impl Sync for kvm_run
impl Unpin for kvm_run
impl UnwindSafe for kvm_run
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