virt::x86Struct X86PartitionCapabilities
Source pub struct X86PartitionCapabilities {Show 16 fields
pub vendor: Vendor,
pub hv1: bool,
pub hv1_reference_tsc_page: bool,
pub xsave: XsaveCapabilities,
pub x2apic: bool,
pub x2apic_enabled: bool,
pub reset_rdx: u64,
pub cet: bool,
pub cet_ss: bool,
pub sgx: bool,
pub tsc_aux: bool,
pub vtom: Option<u64>,
pub can_freeze_time: bool,
pub xsaves_state_bv_broken: bool,
pub dr6_tsx_broken: bool,
pub nxe_forced_on: bool,
}
Expand description
Partition capabilities, used to determine which state is active on a
partition and what the reset state should be.
The MS hypervisor is available.
The reference TSC page is available.
X2apic is enabled at boot.
The initial value for rdx.
The address of the virtual top of memory, for encrypted VMs.
This is computed from the Hyper-V isolation leaf. It is guaranteed to be
a power of 2, if present.
The hypervisor can freeze time across state manipulation.
The hypervisor has a broken implementation querying xsave state, where
supervisor states are not correctly set in xstate_bv.
The hypervisor has a broken implementation setting dr6, where bit 16 is
forced on even if the processor supports TSX.
EFER.NXE is forced on. This is set for TDX 1.5 partitions, which require
this.
Formats the value using the given formatter.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Returns whether this state is present for the partition, based on the
partition capabilities.
Returns the value at VM reset.
Returns whether it’s possible to read this value and compare it to an
expected value.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Instruments this type with the provided
Span
, returning an
Instrumented
wrapper.
Read more
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.