pub enum VmAction {
PvTimerConfig = 107,
Halt = 108,
}Expand description
IO-port actions intercepted at the hypervisor level (in run_vcpu)
before they ever reach the sandbox outb handler. These are split
from OutBAction so the outb handler does not need unreachable
match arms for ports it can never see.
Variants§
PvTimerConfig = 107
IO port for PV timer configuration. The guest writes a 32-bit LE value representing the desired timer period in microseconds. A value of 0 disables the timer.
Halt = 108
IO port the guest writes to signal “I’m done” to the host.
This replaces the hlt instruction for halt signaling so that
KVM’s in-kernel LAPIC (which absorbs HLT exits) does not interfere
with hyperlight’s halt-based guest-host protocol.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VmAction
impl RefUnwindSafe for VmAction
impl Send for VmAction
impl Sync for VmAction
impl Unpin for VmAction
impl UnsafeUnpin for VmAction
impl UnwindSafe for VmAction
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