pub struct ProtoPartitionConfig<'a> {
pub processor_topology: &'a ProcessorTopology,
pub hv_config: Option<HvConfig>,
pub vmtime: &'a VmTimeSource,
pub isolation: ProtoPartitionIsolation,
pub nested_virt: bool,
}Expand description
Prototype partition creation configuration.
Fields§
§processor_topology: &'a ProcessorTopologyThe set of VPs to create.
hv_config: Option<HvConfig>Microsoft hypervisor guest interface configuration.
vmtime: &'a VmTimeSourceVM time access.
isolation: ProtoPartitionIsolationIsolation type and optional backend configuration for this partition.
nested_virt: boolExpose hardware virtualization (VMX/SVM) to the guest so that it can run its own hypervisor.
The code assembling this config must only set this when the chosen
backend recognizes it via Hypervisor::recognizes_nested_virt; a
backend that receives an unrecognized request may silently ignore it.
Auto Trait Implementations§
impl<'a> Freeze for ProtoPartitionConfig<'a>
impl<'a> !RefUnwindSafe for ProtoPartitionConfig<'a>
impl<'a> Send for ProtoPartitionConfig<'a>
impl<'a> Sync for ProtoPartitionConfig<'a>
impl<'a> Unpin for ProtoPartitionConfig<'a>
impl<'a> UnsafeUnpin for ProtoPartitionConfig<'a>
impl<'a> !UnwindSafe for ProtoPartitionConfig<'a>
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