pub struct HvFeatures(/* private fields */);
Implementations§
Source§impl HvFeatures
impl HvFeatures
Sourcepub const fn privileges(&self) -> u64
pub const fn privileges(&self) -> u64
Bits: 0..64
Sourcepub const fn with_privileges(self, value: u64) -> Self
pub const fn with_privileges(self, value: u64) -> Self
Bits: 0..64
Sourcepub fn set_privileges(&mut self, value: u64)
pub fn set_privileges(&mut self, value: u64)
Bits: 0..64
Sourcepub const fn max_supported_cstate(&self) -> u32
pub const fn max_supported_cstate(&self) -> u32
Bits: 64..68
Sourcepub const fn with_max_supported_cstate(self, value: u32) -> Self
pub const fn with_max_supported_cstate(self, value: u32) -> Self
Bits: 64..68
Sourcepub fn set_max_supported_cstate(&mut self, value: u32)
pub fn set_max_supported_cstate(&mut self, value: u32)
Bits: 64..68
Sourcepub const fn hpet_needed_for_c3_power_state_deprecated(&self) -> bool
pub const fn hpet_needed_for_c3_power_state_deprecated(&self) -> bool
Bits: 68..69
Sourcepub const fn with_hpet_needed_for_c3_power_state_deprecated(
self,
value: bool,
) -> Self
pub const fn with_hpet_needed_for_c3_power_state_deprecated( self, value: bool, ) -> Self
Bits: 68..69
Sourcepub fn set_hpet_needed_for_c3_power_state_deprecated(&mut self, value: bool)
pub fn set_hpet_needed_for_c3_power_state_deprecated(&mut self, value: bool)
Bits: 68..69
Sourcepub const fn invariant_mperf_available(&self) -> bool
pub const fn invariant_mperf_available(&self) -> bool
Bits: 69..70
Sourcepub const fn with_invariant_mperf_available(self, value: bool) -> Self
pub const fn with_invariant_mperf_available(self, value: bool) -> Self
Bits: 69..70
Sourcepub fn set_invariant_mperf_available(&mut self, value: bool)
pub fn set_invariant_mperf_available(&mut self, value: bool)
Bits: 69..70
Sourcepub const fn supervisor_shadow_stack_available(&self) -> bool
pub const fn supervisor_shadow_stack_available(&self) -> bool
Bits: 70..71
Sourcepub const fn with_supervisor_shadow_stack_available(self, value: bool) -> Self
pub const fn with_supervisor_shadow_stack_available(self, value: bool) -> Self
Bits: 70..71
Sourcepub fn set_supervisor_shadow_stack_available(&mut self, value: bool)
pub fn set_supervisor_shadow_stack_available(&mut self, value: bool)
Bits: 70..71
Sourcepub const fn arch_pmu_available(&self) -> bool
pub const fn arch_pmu_available(&self) -> bool
Bits: 71..72
Sourcepub const fn with_arch_pmu_available(self, value: bool) -> Self
pub const fn with_arch_pmu_available(self, value: bool) -> Self
Bits: 71..72
Sourcepub fn set_arch_pmu_available(&mut self, value: bool)
pub fn set_arch_pmu_available(&mut self, value: bool)
Bits: 71..72
Sourcepub const fn exception_trap_intercept_available(&self) -> bool
pub const fn exception_trap_intercept_available(&self) -> bool
Bits: 72..73
Sourcepub const fn with_exception_trap_intercept_available(self, value: bool) -> Self
pub const fn with_exception_trap_intercept_available(self, value: bool) -> Self
Bits: 72..73
Sourcepub fn set_exception_trap_intercept_available(&mut self, value: bool)
pub fn set_exception_trap_intercept_available(&mut self, value: bool)
Bits: 72..73
Sourcepub const fn mwait_available_deprecated(&self) -> bool
pub const fn mwait_available_deprecated(&self) -> bool
Bits: 96..97
Sourcepub const fn with_mwait_available_deprecated(self, value: bool) -> Self
pub const fn with_mwait_available_deprecated(self, value: bool) -> Self
Bits: 96..97
Sourcepub fn set_mwait_available_deprecated(&mut self, value: bool)
pub fn set_mwait_available_deprecated(&mut self, value: bool)
Bits: 96..97
Sourcepub const fn guest_debugging_available(&self) -> bool
pub const fn guest_debugging_available(&self) -> bool
Bits: 97..98
Sourcepub const fn with_guest_debugging_available(self, value: bool) -> Self
pub const fn with_guest_debugging_available(self, value: bool) -> Self
Bits: 97..98
Sourcepub fn set_guest_debugging_available(&mut self, value: bool)
pub fn set_guest_debugging_available(&mut self, value: bool)
Bits: 97..98
Sourcepub const fn performance_monitors_available(&self) -> bool
pub const fn performance_monitors_available(&self) -> bool
Bits: 98..99
Sourcepub const fn with_performance_monitors_available(self, value: bool) -> Self
pub const fn with_performance_monitors_available(self, value: bool) -> Self
Bits: 98..99
Sourcepub fn set_performance_monitors_available(&mut self, value: bool)
pub fn set_performance_monitors_available(&mut self, value: bool)
Bits: 98..99
Sourcepub const fn cpu_dynamic_partitioning_available(&self) -> bool
pub const fn cpu_dynamic_partitioning_available(&self) -> bool
Bits: 99..100
Sourcepub const fn with_cpu_dynamic_partitioning_available(self, value: bool) -> Self
pub const fn with_cpu_dynamic_partitioning_available(self, value: bool) -> Self
Bits: 99..100
Sourcepub fn set_cpu_dynamic_partitioning_available(&mut self, value: bool)
pub fn set_cpu_dynamic_partitioning_available(&mut self, value: bool)
Bits: 99..100
Sourcepub const fn xmm_registers_for_fast_hypercall_available(&self) -> bool
pub const fn xmm_registers_for_fast_hypercall_available(&self) -> bool
Bits: 100..101
Sourcepub const fn with_xmm_registers_for_fast_hypercall_available(
self,
value: bool,
) -> Self
pub const fn with_xmm_registers_for_fast_hypercall_available( self, value: bool, ) -> Self
Bits: 100..101
Sourcepub fn set_xmm_registers_for_fast_hypercall_available(&mut self, value: bool)
pub fn set_xmm_registers_for_fast_hypercall_available(&mut self, value: bool)
Bits: 100..101
Sourcepub const fn guest_idle_available(&self) -> bool
pub const fn guest_idle_available(&self) -> bool
Bits: 101..102
Sourcepub const fn with_guest_idle_available(self, value: bool) -> Self
pub const fn with_guest_idle_available(self, value: bool) -> Self
Bits: 101..102
Sourcepub fn set_guest_idle_available(&mut self, value: bool)
pub fn set_guest_idle_available(&mut self, value: bool)
Bits: 101..102
Sourcepub const fn hypervisor_sleep_state_support_available(&self) -> bool
pub const fn hypervisor_sleep_state_support_available(&self) -> bool
Bits: 102..103
Sourcepub const fn with_hypervisor_sleep_state_support_available(
self,
value: bool,
) -> Self
pub const fn with_hypervisor_sleep_state_support_available( self, value: bool, ) -> Self
Bits: 102..103
Sourcepub fn set_hypervisor_sleep_state_support_available(&mut self, value: bool)
pub fn set_hypervisor_sleep_state_support_available(&mut self, value: bool)
Bits: 102..103
Sourcepub const fn numa_distance_query_available(&self) -> bool
pub const fn numa_distance_query_available(&self) -> bool
Bits: 103..104
Sourcepub const fn with_numa_distance_query_available(self, value: bool) -> Self
pub const fn with_numa_distance_query_available(self, value: bool) -> Self
Bits: 103..104
Sourcepub fn set_numa_distance_query_available(&mut self, value: bool)
pub fn set_numa_distance_query_available(&mut self, value: bool)
Bits: 103..104
Sourcepub const fn frequency_regs_available(&self) -> bool
pub const fn frequency_regs_available(&self) -> bool
Bits: 104..105
Sourcepub const fn with_frequency_regs_available(self, value: bool) -> Self
pub const fn with_frequency_regs_available(self, value: bool) -> Self
Bits: 104..105
Sourcepub fn set_frequency_regs_available(&mut self, value: bool)
pub fn set_frequency_regs_available(&mut self, value: bool)
Bits: 104..105
Sourcepub const fn synthetic_machine_check_available(&self) -> bool
pub const fn synthetic_machine_check_available(&self) -> bool
Bits: 105..106
Sourcepub const fn with_synthetic_machine_check_available(self, value: bool) -> Self
pub const fn with_synthetic_machine_check_available(self, value: bool) -> Self
Bits: 105..106
Sourcepub fn set_synthetic_machine_check_available(&mut self, value: bool)
pub fn set_synthetic_machine_check_available(&mut self, value: bool)
Bits: 105..106
Sourcepub const fn guest_crash_regs_available(&self) -> bool
pub const fn guest_crash_regs_available(&self) -> bool
Bits: 106..107
Sourcepub const fn with_guest_crash_regs_available(self, value: bool) -> Self
pub const fn with_guest_crash_regs_available(self, value: bool) -> Self
Bits: 106..107
Sourcepub fn set_guest_crash_regs_available(&mut self, value: bool)
pub fn set_guest_crash_regs_available(&mut self, value: bool)
Bits: 106..107
Sourcepub const fn debug_regs_available(&self) -> bool
pub const fn debug_regs_available(&self) -> bool
Bits: 107..108
Sourcepub const fn with_debug_regs_available(self, value: bool) -> Self
pub const fn with_debug_regs_available(self, value: bool) -> Self
Bits: 107..108
Sourcepub fn set_debug_regs_available(&mut self, value: bool)
pub fn set_debug_regs_available(&mut self, value: bool)
Bits: 107..108
Sourcepub const fn npiep1_available(&self) -> bool
pub const fn npiep1_available(&self) -> bool
Bits: 108..109
Sourcepub const fn with_npiep1_available(self, value: bool) -> Self
pub const fn with_npiep1_available(self, value: bool) -> Self
Bits: 108..109
Sourcepub fn set_npiep1_available(&mut self, value: bool)
pub fn set_npiep1_available(&mut self, value: bool)
Bits: 108..109
Sourcepub const fn disable_hypervisor_available(&self) -> bool
pub const fn disable_hypervisor_available(&self) -> bool
Bits: 109..110
Sourcepub const fn with_disable_hypervisor_available(self, value: bool) -> Self
pub const fn with_disable_hypervisor_available(self, value: bool) -> Self
Bits: 109..110
Sourcepub fn set_disable_hypervisor_available(&mut self, value: bool)
pub fn set_disable_hypervisor_available(&mut self, value: bool)
Bits: 109..110
Sourcepub const fn extended_gva_ranges_for_flush_virtual_address_list_available(
&self,
) -> bool
pub const fn extended_gva_ranges_for_flush_virtual_address_list_available( &self, ) -> bool
Bits: 110..111
Sourcepub const fn with_extended_gva_ranges_for_flush_virtual_address_list_available(
self,
value: bool,
) -> Self
pub const fn with_extended_gva_ranges_for_flush_virtual_address_list_available( self, value: bool, ) -> Self
Bits: 110..111
Sourcepub fn set_extended_gva_ranges_for_flush_virtual_address_list_available(
&mut self,
value: bool,
)
pub fn set_extended_gva_ranges_for_flush_virtual_address_list_available( &mut self, value: bool, )
Bits: 110..111
Sourcepub const fn fast_hypercall_output_available(&self) -> bool
pub const fn fast_hypercall_output_available(&self) -> bool
Bits: 111..112
Sourcepub const fn with_fast_hypercall_output_available(self, value: bool) -> Self
pub const fn with_fast_hypercall_output_available(self, value: bool) -> Self
Bits: 111..112
Sourcepub fn set_fast_hypercall_output_available(&mut self, value: bool)
pub fn set_fast_hypercall_output_available(&mut self, value: bool)
Bits: 111..112
Sourcepub const fn svm_features_available(&self) -> bool
pub const fn svm_features_available(&self) -> bool
Bits: 112..113
Sourcepub const fn with_svm_features_available(self, value: bool) -> Self
pub const fn with_svm_features_available(self, value: bool) -> Self
Bits: 112..113
Sourcepub fn set_svm_features_available(&mut self, value: bool)
pub fn set_svm_features_available(&mut self, value: bool)
Bits: 112..113
Sourcepub const fn sint_polling_mode_available(&self) -> bool
pub const fn sint_polling_mode_available(&self) -> bool
Bits: 113..114
Sourcepub const fn with_sint_polling_mode_available(self, value: bool) -> Self
pub const fn with_sint_polling_mode_available(self, value: bool) -> Self
Bits: 113..114
Sourcepub fn set_sint_polling_mode_available(&mut self, value: bool)
pub fn set_sint_polling_mode_available(&mut self, value: bool)
Bits: 113..114
Sourcepub const fn hypercall_msr_lock_available(&self) -> bool
pub const fn hypercall_msr_lock_available(&self) -> bool
Bits: 114..115
Sourcepub const fn with_hypercall_msr_lock_available(self, value: bool) -> Self
pub const fn with_hypercall_msr_lock_available(self, value: bool) -> Self
Bits: 114..115
Sourcepub fn set_hypercall_msr_lock_available(&mut self, value: bool)
pub fn set_hypercall_msr_lock_available(&mut self, value: bool)
Bits: 114..115
Sourcepub const fn direct_synthetic_timers(&self) -> bool
pub const fn direct_synthetic_timers(&self) -> bool
Bits: 115..116
Sourcepub const fn with_direct_synthetic_timers(self, value: bool) -> Self
pub const fn with_direct_synthetic_timers(self, value: bool) -> Self
Bits: 115..116
Sourcepub fn set_direct_synthetic_timers(&mut self, value: bool)
pub fn set_direct_synthetic_timers(&mut self, value: bool)
Bits: 115..116
Sourcepub const fn register_pat_available(&self) -> bool
pub const fn register_pat_available(&self) -> bool
Bits: 116..117
Sourcepub const fn with_register_pat_available(self, value: bool) -> Self
pub const fn with_register_pat_available(self, value: bool) -> Self
Bits: 116..117
Sourcepub fn set_register_pat_available(&mut self, value: bool)
pub fn set_register_pat_available(&mut self, value: bool)
Bits: 116..117
Sourcepub const fn register_bndcfgs_available(&self) -> bool
pub const fn register_bndcfgs_available(&self) -> bool
Bits: 117..118
Sourcepub const fn with_register_bndcfgs_available(self, value: bool) -> Self
pub const fn with_register_bndcfgs_available(self, value: bool) -> Self
Bits: 117..118
Sourcepub fn set_register_bndcfgs_available(&mut self, value: bool)
pub fn set_register_bndcfgs_available(&mut self, value: bool)
Bits: 117..118
Sourcepub const fn watchdog_timer_available(&self) -> bool
pub const fn watchdog_timer_available(&self) -> bool
Bits: 118..119
Sourcepub const fn with_watchdog_timer_available(self, value: bool) -> Self
pub const fn with_watchdog_timer_available(self, value: bool) -> Self
Bits: 118..119
Sourcepub fn set_watchdog_timer_available(&mut self, value: bool)
pub fn set_watchdog_timer_available(&mut self, value: bool)
Bits: 118..119
Sourcepub const fn synthetic_time_unhalted_timer_available(&self) -> bool
pub const fn synthetic_time_unhalted_timer_available(&self) -> bool
Bits: 119..120
Sourcepub const fn with_synthetic_time_unhalted_timer_available(
self,
value: bool,
) -> Self
pub const fn with_synthetic_time_unhalted_timer_available( self, value: bool, ) -> Self
Bits: 119..120
Sourcepub fn set_synthetic_time_unhalted_timer_available(&mut self, value: bool)
pub fn set_synthetic_time_unhalted_timer_available(&mut self, value: bool)
Bits: 119..120
Sourcepub const fn device_domains_available(&self) -> bool
pub const fn device_domains_available(&self) -> bool
Bits: 120..121
Sourcepub const fn with_device_domains_available(self, value: bool) -> Self
pub const fn with_device_domains_available(self, value: bool) -> Self
Bits: 120..121
Sourcepub fn set_device_domains_available(&mut self, value: bool)
pub fn set_device_domains_available(&mut self, value: bool)
Bits: 120..121
Sourcepub const fn s1_device_domains_available(&self) -> bool
pub const fn s1_device_domains_available(&self) -> bool
Bits: 121..122
Sourcepub const fn with_s1_device_domains_available(self, value: bool) -> Self
pub const fn with_s1_device_domains_available(self, value: bool) -> Self
Bits: 121..122
Sourcepub fn set_s1_device_domains_available(&mut self, value: bool)
pub fn set_s1_device_domains_available(&mut self, value: bool)
Bits: 121..122
Sourcepub const fn lbr_available(&self) -> bool
pub const fn lbr_available(&self) -> bool
Bits: 122..123
Sourcepub const fn with_lbr_available(self, value: bool) -> Self
pub const fn with_lbr_available(self, value: bool) -> Self
Bits: 122..123
Sourcepub fn set_lbr_available(&mut self, value: bool)
pub fn set_lbr_available(&mut self, value: bool)
Bits: 122..123
Sourcepub const fn ipt_available(&self) -> bool
pub const fn ipt_available(&self) -> bool
Bits: 123..124
Sourcepub const fn with_ipt_available(self, value: bool) -> Self
pub const fn with_ipt_available(self, value: bool) -> Self
Bits: 123..124
Sourcepub fn set_ipt_available(&mut self, value: bool)
pub fn set_ipt_available(&mut self, value: bool)
Bits: 123..124
Sourcepub const fn cross_vtl_flush_available(&self) -> bool
pub const fn cross_vtl_flush_available(&self) -> bool
Bits: 124..125
Sourcepub const fn with_cross_vtl_flush_available(self, value: bool) -> Self
pub const fn with_cross_vtl_flush_available(self, value: bool) -> Self
Bits: 124..125
Sourcepub fn set_cross_vtl_flush_available(&mut self, value: bool)
pub fn set_cross_vtl_flush_available(&mut self, value: bool)
Bits: 124..125
Sourcepub const fn idle_spec_ctrl_available(&self) -> bool
pub const fn idle_spec_ctrl_available(&self) -> bool
Bits: 125..126
Sourcepub const fn with_idle_spec_ctrl_available(self, value: bool) -> Self
pub const fn with_idle_spec_ctrl_available(self, value: bool) -> Self
Bits: 125..126
Sourcepub fn set_idle_spec_ctrl_available(&mut self, value: bool)
pub fn set_idle_spec_ctrl_available(&mut self, value: bool)
Bits: 125..126
Sourcepub const fn translate_gva_flags_available(&self) -> bool
pub const fn translate_gva_flags_available(&self) -> bool
Bits: 126..127
Sourcepub const fn with_translate_gva_flags_available(self, value: bool) -> Self
pub const fn with_translate_gva_flags_available(self, value: bool) -> Self
Bits: 126..127
Sourcepub fn set_translate_gva_flags_available(&mut self, value: bool)
pub fn set_translate_gva_flags_available(&mut self, value: bool)
Bits: 126..127
Sourcepub const fn apic_eoi_intercept_available(&self) -> bool
pub const fn apic_eoi_intercept_available(&self) -> bool
Bits: 127..128
Sourcepub const fn with_apic_eoi_intercept_available(self, value: bool) -> Self
pub const fn with_apic_eoi_intercept_available(self, value: bool) -> Self
Bits: 127..128
Sourcepub fn set_apic_eoi_intercept_available(&mut self, value: bool)
pub fn set_apic_eoi_intercept_available(&mut self, value: bool)
Bits: 127..128
Trait Implementations§
Source§impl Clone for HvFeatures
impl Clone for HvFeatures
Source§fn clone(&self) -> HvFeatures
fn clone(&self) -> HvFeatures
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more