pub struct KvmRunPage {
pub state: KvmRunState,
pub exit_reason: u32,
pub io: KvmIoExit,
pub mmio: KvmMmioExit,
pub immediate_exit: bool,
}Expand description
Shared run page between kernel and userspace
Fields§
§state: KvmRunStateCurrent run state
exit_reason: u32Exit reason from last run
io: KvmIoExitI/O exit info (valid when exit_reason == IO)
mmio: KvmMmioExitMMIO exit info (valid when exit_reason == MMIO)
immediate_exit: boolWhether the vCPU should continue to run after handling exit
Implementations§
Source§impl KvmRunPage
impl KvmRunPage
Trait Implementations§
Source§impl Clone for KvmRunPage
impl Clone for KvmRunPage
Source§fn clone(&self) -> KvmRunPage
fn clone(&self) -> KvmRunPage
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KvmRunPage
impl Debug for KvmRunPage
Source§impl Default for KvmRunPage
impl Default for KvmRunPage
Source§fn default() -> KvmRunPage
fn default() -> KvmRunPage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KvmRunPage
impl RefUnwindSafe for KvmRunPage
impl Send for KvmRunPage
impl Sync for KvmRunPage
impl Unpin for KvmRunPage
impl UnwindSafe for KvmRunPage
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)