Struct WHV_SYNTHETIC_PROCESSOR_FEATURES

Source
pub struct WHV_SYNTHETIC_PROCESSOR_FEATURES(pub u64);

Tuple Fields§

§0: u64

Implementations§

Source§

impl WHV_SYNTHETIC_PROCESSOR_FEATURES

Source

pub fn is_empty(&self) -> bool

Source

pub fn is_set(&self, v: Self) -> bool

Source§

impl WHV_SYNTHETIC_PROCESSOR_FEATURES

Source

pub const HypervisorPresent: Self

Report a hypervisor is present. CPUID leaves 0x40000000 and 0x40000001 are supported.

Source

pub const Hv1: Self

Report support for Hv1 (CPUID leaves 0x40000000 - 0x40000006).

Source

pub const AccessVpRunTimeReg: Self

Access to HV_X64_MSR_VP_RUNTIME. Corresponds to AccessVpRunTimeReg privilege.

Source

pub const AccessPartitionReferenceCounter: Self

Access to HV_X64_MSR_TIME_REF_COUNT. Corresponds to AccessPartitionReferenceCounter privilege.

Source

pub const AccessSynicRegs: Self

Access to SINT-related registers (HV_X64_MSR_SCONTROL through HV_X64_MSR_EOM and HV_X64_MSR_SINT0 through HV_X64_MSR_SINT15). Corresponds to AccessSynicRegs privilege.

Source

pub const AccessSyntheticTimerRegs: Self

Access to synthetic timers and associated MSRs (HV_X64_MSR_STIMER0_CONFIG through HV_X64_MSR_STIMER3_COUNT). Corresponds to AccessSyntheticTimerRegs privilege.

Source

pub const AccessIntrCtrlRegs: Self

Access to APIC MSRs (HV_X64_MSR_EOI, HV_X64_MSR_ICR and HV_X64_MSR_TPR) as well as the VP assist page. Corresponds to AccessIntrCtrlRegs privilege.

Source

pub const AccessHypercallRegs: Self

Access to registers associated with hypercalls (HV_X64_MSR_GUEST_OS_ID and HV_X64_MSR_HYPERCALL). Corresponds to AccessHypercallMsrs privilege.

Source

pub const AccessVpIndex: Self

VP index can be queried. Corresponds to AccessVpIndex privilege.

Source

pub const AccessPartitionReferenceTsc: Self

Access to the reference TSC. Corresponds to AccessPartitionReferenceTsc privilege.

Source

pub const AccessGuestIdleReg: Self

Partition has access to the guest idle reg. Corresponds to AccessGuestIdleReg privilege.

Source

pub const AccessFrequencyRegs: Self

Partition has access to frequency regs. Corresponds to AccessFrequencyRegs privilege.

Source

pub const EnableExtendedGvaRangesForFlushVirtualAddressList: Self

Extended GVA ranges for HvCallFlushVirtualAddressList hypercall. Corresponds to privilege.

Source

pub const FastHypercallOutput: Self

Use fast hypercall output. Corresponds to privilege.

Source

pub const DirectSyntheticTimers: Self

Synthetic timers in direct mode.

Source

pub const ExtendedProcessorMasks: Self

Use extended processor masks.

Source

pub const TbFlushHypercalls: Self

Source

pub const SyntheticClusterIpi: Self

HvCallSendSyntheticClusterIpi is supported.

Source

pub const NotifyLongSpinWait: Self

HvCallNotifyLongSpinWait is supported.

Source

pub const QueryNumaDistance: Self

HvCallQueryNumaDistance is supported.

Source

pub const SignalEvents: Self

HvCallSignalEvent is supported. Corresponds to privilege.

Source

pub const RetargetDeviceInterrupt: Self

HvCallRetargetDeviceInterrupt is supported.

Source

pub const RestoreTime: Self

HvCallRestorePartitionTime is supported.

Source

pub const EnlightenedVmcs: Self

EnlightenedVmcs nested enlightenment is supported.

Source

pub const NestedDebugCtl: Self

Non-zero values can be written to DEBUG_CTL.

Source

pub const SyntheticTimeUnhaltedTimer: Self

Synthetic time-unhalted timer MSRs are supported.

Source

pub const IdleSpecCtrl: Self

SPEC_CTRL MSR behavior when the VP is idle

Source

pub const WakeVps: Self

HvCallWakeVps is supported.

Source

pub const AccessVpRegs: Self

HvCallGet/SetVpRegisters is supported. Corresponds to the AccessVpRegisters privilege. This feature only affects exo partitions.

Source

pub const ManagementVtlSynicSupport: Self

Management VTL synic support is allowed. Corresponds to the ManagementVtlSynicSupport privilege.

Source

pub const ProxyInterruptDoorbellSupport: Self

Hypervisor supports guest mechanism to signal pending interrupts to paravisor.

Source

pub const MmioHypercalls: Self

Hypercalls for host MMIO operations are available.

Trait Implementations§

Source§

impl BitAnd for WHV_SYNTHETIC_PROCESSOR_FEATURES

Source§

type Output = WHV_SYNTHETIC_PROCESSOR_FEATURES

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Self) -> Self

Performs the & operation. Read more
Source§

impl BitAndAssign for WHV_SYNTHETIC_PROCESSOR_FEATURES

Source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
Source§

impl BitOr for WHV_SYNTHETIC_PROCESSOR_FEATURES

Source§

type Output = WHV_SYNTHETIC_PROCESSOR_FEATURES

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
Source§

impl BitOrAssign for WHV_SYNTHETIC_PROCESSOR_FEATURES

Source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
Source§

impl Clone for WHV_SYNTHETIC_PROCESSOR_FEATURES

Source§

fn clone(&self) -> WHV_SYNTHETIC_PROCESSOR_FEATURES

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WHV_SYNTHETIC_PROCESSOR_FEATURES

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for WHV_SYNTHETIC_PROCESSOR_FEATURES

Source§

fn default() -> WHV_SYNTHETIC_PROCESSOR_FEATURES

Returns the “default value” for a type. Read more
Source§

impl Not for WHV_SYNTHETIC_PROCESSOR_FEATURES

Source§

type Output = WHV_SYNTHETIC_PROCESSOR_FEATURES

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self

Performs the unary ! operation. Read more
Source§

impl PartialEq for WHV_SYNTHETIC_PROCESSOR_FEATURES

Source§

fn eq(&self, other: &WHV_SYNTHETIC_PROCESSOR_FEATURES) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for WHV_SYNTHETIC_PROCESSOR_FEATURES

Source§

impl Eq for WHV_SYNTHETIC_PROCESSOR_FEATURES

Source§

impl StructuralPartialEq for WHV_SYNTHETIC_PROCESSOR_FEATURES

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.