[−][src]Struct x86::vmx::vmcs::control::SecondaryControls
Secondary processor-based VM-execution controls.
A set of bitmask flags useful when setting up SECONDARY_PROCBASED_EXEC_CONTROLS
VMCS field.
See Intel SDM, Volume 3C, Section 24.6.2, Table 24-7.
Methods
impl SecondaryControls
[src]
pub const VIRTUALIZE_APIC: SecondaryControls
[src]
Virtualize APIC accesses.
pub const ENABLE_EPT: SecondaryControls
[src]
Enable EPT.
pub const DTABLE_EXITING: SecondaryControls
[src]
Descriptor-table exiting.
pub const ENABLE_RDTSCP: SecondaryControls
[src]
Enable RDTSCP.
pub const VIRTUALIZE_X2APIC: SecondaryControls
[src]
Virtualize x2APIC mode.
pub const ENABLE_VPID: SecondaryControls
[src]
Enable VPID.
pub const WBINVD_EXITING: SecondaryControls
[src]
WBINVD exiting.
pub const UNRESTRICTED_GUEST: SecondaryControls
[src]
Unrestricted guest.
pub const VIRTUALIZE_APIC_REGISTER: SecondaryControls
[src]
APIC-register virtualization.
pub const VIRTUAL_INTERRUPT_DELIVERY: SecondaryControls
[src]
Virtual-interrupt delivery.
pub const PAUSE_LOOP_EXITING: SecondaryControls
[src]
PAUSE-loop exiting.
pub const RDRAND_EXITING: SecondaryControls
[src]
RDRAND exiting.
pub const ENABLE_INVPCID: SecondaryControls
[src]
Enable INVPCID.
pub const ENABLE_VM_FUNCTIONS: SecondaryControls
[src]
Enable VM functions.
pub const VMCS_SHADOWING: SecondaryControls
[src]
VMCS shadowing.
pub const ENCLS_EXITING: SecondaryControls
[src]
Enable ENCLS exiting.
pub const RDSEED_EXITING: SecondaryControls
[src]
RDSEED exiting.
pub const ENABLE_PML: SecondaryControls
[src]
Enable PML.
pub const EPT_VIOLATION_VE: SecondaryControls
[src]
EPT-violation #VE.
pub const CONCEAL_VMX_FROM_PT: SecondaryControls
[src]
Conceal VMX from PT.
pub const ENABLE_XSAVES_XRSTORS: SecondaryControls
[src]
Enable XSAVES/XRSTORS.
pub const MODE_BASED_EPT: SecondaryControls
[src]
Mode-based execute control for EPT.
pub const SUB_PAGE_EPT: SecondaryControls
[src]
Sub-page write permissions for EPT.
pub const INTEL_PT_GUEST_PHYSICAL: SecondaryControls
[src]
Intel PT uses guest physical addresses.
pub const USE_TSC_SCALING: SecondaryControls
[src]
Use TSC scaling.
pub const ENABLE_USER_WAIT_PAUSE: SecondaryControls
[src]
Enable user wait and pause.
pub const ENCLV_EXITING: SecondaryControls
[src]
Enable ENCLV exiting.
pub const fn empty() -> SecondaryControls
[src]
Returns an empty set of flags
pub const fn all() -> SecondaryControls
[src]
Returns the set containing all flags.
pub const fn bits(&self) -> u32
[src]
Returns the raw value of the flags currently stored.
pub fn from_bits(bits: u32) -> Option<SecondaryControls>
[src]
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
pub const fn from_bits_truncate(bits: u32) -> SecondaryControls
[src]
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
pub const unsafe fn from_bits_unchecked(bits: u32) -> SecondaryControls
[src]
Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined flag).
pub const fn is_empty(&self) -> bool
[src]
Returns true
if no flags are currently stored.
pub const fn is_all(&self) -> bool
[src]
Returns true
if all flags are currently set.
pub const fn intersects(&self, other: SecondaryControls) -> bool
[src]
Returns true
if there are flags common to both self
and other
.
pub const fn contains(&self, other: SecondaryControls) -> bool
[src]
Returns true
all of the flags in other
are contained within self
.
pub fn insert(&mut self, other: SecondaryControls)
[src]
Inserts the specified flags in-place.
pub fn remove(&mut self, other: SecondaryControls)
[src]
Removes the specified flags in-place.
pub fn toggle(&mut self, other: SecondaryControls)
[src]
Toggles the specified flags in-place.
pub fn set(&mut self, other: SecondaryControls, value: bool)
[src]
Inserts or removes the specified flags depending on the passed value.
Trait Implementations
impl Binary for SecondaryControls
[src]
impl BitAnd<SecondaryControls> for SecondaryControls
[src]
type Output = SecondaryControls
The resulting type after applying the &
operator.
fn bitand(self, other: SecondaryControls) -> SecondaryControls
[src]
Returns the intersection between the two sets of flags.
impl BitAndAssign<SecondaryControls> for SecondaryControls
[src]
fn bitand_assign(&mut self, other: SecondaryControls)
[src]
Disables all flags disabled in the set.
impl BitOr<SecondaryControls> for SecondaryControls
[src]
type Output = SecondaryControls
The resulting type after applying the |
operator.
fn bitor(self, other: SecondaryControls) -> SecondaryControls
[src]
Returns the union of the two sets of flags.
impl BitOrAssign<SecondaryControls> for SecondaryControls
[src]
fn bitor_assign(&mut self, other: SecondaryControls)
[src]
Adds the set of flags.
impl BitXor<SecondaryControls> for SecondaryControls
[src]
type Output = SecondaryControls
The resulting type after applying the ^
operator.
fn bitxor(self, other: SecondaryControls) -> SecondaryControls
[src]
Returns the left flags, but with all the right flags toggled.
impl BitXorAssign<SecondaryControls> for SecondaryControls
[src]
fn bitxor_assign(&mut self, other: SecondaryControls)
[src]
Toggles the set of flags.
impl Clone for SecondaryControls
[src]
fn clone(&self) -> SecondaryControls
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SecondaryControls
[src]
impl Debug for SecondaryControls
[src]
impl Eq for SecondaryControls
[src]
impl Extend<SecondaryControls> for SecondaryControls
[src]
fn extend<T: IntoIterator<Item = SecondaryControls>>(&mut self, iterator: T)
[src]
impl FromIterator<SecondaryControls> for SecondaryControls
[src]
fn from_iter<T: IntoIterator<Item = SecondaryControls>>(
iterator: T
) -> SecondaryControls
[src]
iterator: T
) -> SecondaryControls
impl Hash for SecondaryControls
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl LowerHex for SecondaryControls
[src]
impl Not for SecondaryControls
[src]
type Output = SecondaryControls
The resulting type after applying the !
operator.
fn not(self) -> SecondaryControls
[src]
Returns the complement of this set of flags.
impl Octal for SecondaryControls
[src]
impl Ord for SecondaryControls
[src]
fn cmp(&self, other: &SecondaryControls) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SecondaryControls> for SecondaryControls
[src]
fn eq(&self, other: &SecondaryControls) -> bool
[src]
fn ne(&self, other: &SecondaryControls) -> bool
[src]
impl PartialOrd<SecondaryControls> for SecondaryControls
[src]
fn partial_cmp(&self, other: &SecondaryControls) -> Option<Ordering>
[src]
fn lt(&self, other: &SecondaryControls) -> bool
[src]
fn le(&self, other: &SecondaryControls) -> bool
[src]
fn gt(&self, other: &SecondaryControls) -> bool
[src]
fn ge(&self, other: &SecondaryControls) -> bool
[src]
impl StructuralEq for SecondaryControls
[src]
impl StructuralPartialEq for SecondaryControls
[src]
impl Sub<SecondaryControls> for SecondaryControls
[src]
type Output = SecondaryControls
The resulting type after applying the -
operator.
fn sub(self, other: SecondaryControls) -> SecondaryControls
[src]
Returns the set difference of the two sets of flags.
impl SubAssign<SecondaryControls> for SecondaryControls
[src]
fn sub_assign(&mut self, other: SecondaryControls)
[src]
Disables all flags enabled in the set.
impl UpperHex for SecondaryControls
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,