Expand description
State unit for managing the VM partition and associated virtual processors.
Structs§
- Halt
- Tracks whether the VP should halt due to a guest-initiated condition (triple fault, etc.).
- Halt
Reason Receiver - The halt reason receiver to pass to put in
PartitionUnitParams
. - Partition
Unit - The control point for managing a partition unit.
- Partition
Unit Params - RunCancelled
- Error returned when a VP run is cancelled.
- Runner
Canceller - An object that can cancel a pending call into
VpRunner::run
. - Stop
Guard - VpRunner
- An object used to dispatch a virtual processor.
Enums§
- Error
- Error returned by
PartitionUnit::new()
. - Initial
RegError - Error returned by
PartitionUnit::set_initial_regs()
. - Initial
Visibility Error - Error returned by
PartitionUnit::set_initial_page_visibility()
.
Traits§
- Request
Yield - Trait for requesting that a VP yield in its
virt::Processor::run_vp
call. - VmPartition
- Trait with the minimal methods needed to run the partition.
Functions§
- block_
on_ vp - Blocks on a future, where the future may run a VP (and so the associated waker needs to ask the VP to yield).