pub enum KvmExit<'cpu> {
Halt,
IoIn(u16, &'cpu mut [u8]),
IoOut(u16, &'cpu [u8]),
MmioRead(u64, &'cpu mut [u8]),
MmioWrite(u64, &'cpu [u8]),
}
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])
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more