pub enum VMInterruptMode {
NoIrq,
Emulated,
Passthrough,
}Expand description
Specifies how the VM should handle interrupts and interrupt controllers.
Variants§
NoIrq
The VM will not handle interrupts, and the guest OS should not use interrupts.
Emulated
The VM will use the emulated interrupt controller to handle interrupts.
Passthrough
The VM will use the passthrough interrupt controller (including GPPT) to handle interrupts.
Trait Implementations§
Source§impl Clone for VMInterruptMode
impl Clone for VMInterruptMode
Source§fn clone(&self) -> VMInterruptMode
fn clone(&self) -> VMInterruptMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VMInterruptMode
Source§impl Debug for VMInterruptMode
impl Debug for VMInterruptMode
Source§impl Default for VMInterruptMode
impl Default for VMInterruptMode
Source§fn default() -> VMInterruptMode
fn default() -> VMInterruptMode
Returns the “default value” for a type. Read more
impl Eq for VMInterruptMode
Source§impl PartialEq for VMInterruptMode
impl PartialEq for VMInterruptMode
Source§fn eq(&self, other: &VMInterruptMode) -> bool
fn eq(&self, other: &VMInterruptMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VMInterruptMode
Auto Trait Implementations§
impl Freeze for VMInterruptMode
impl RefUnwindSafe for VMInterruptMode
impl Send for VMInterruptMode
impl Sync for VMInterruptMode
impl Unpin for VMInterruptMode
impl UnsafeUnpin for VMInterruptMode
impl UnwindSafe for VMInterruptMode
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