pub enum KvmExit<'cpu> {
Halt,
IoIn(u16, &'cpu mut [u8]),
IoOut(u16, &'cpu [u8]),
MmioRead(u64, &'cpu mut [u8]),
MmioWrite(u64, &'cpu [u8]),
Debug(u64),
}
Expand description
Exit reasons for the Vcpu::run
function.
Details for the different exit reasons can be found in the kvm_run
structure description.
Variants§
Halt
IoIn(u16, &'cpu mut [u8])
IoOut(u16, &'cpu [u8])
MmioRead(u64, &'cpu mut [u8])
MmioWrite(u64, &'cpu [u8])
Debug(u64)
Auto Trait Implementations§
impl<'cpu> RefUnwindSafe for KvmExit<'cpu>
impl<'cpu> Send for KvmExit<'cpu>
impl<'cpu> Sync for KvmExit<'cpu>
impl<'cpu> Unpin for KvmExit<'cpu>
impl<'cpu> !UnwindSafe for KvmExit<'cpu>
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