KVM
Classes | Macros | Functions | Variables
capabilities.h File Reference
#include <asm/vmx.h>
#include "../lapic.h"
#include "../x86.h"
#include "../pmu.h"
#include "../cpuid.h"
Include dependency graph for capabilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nested_vmx_msrs
 
struct  vmcs_config
 
struct  vmx_capability
 

Macros

#define PT_MODE_SYSTEM   0
 
#define PT_MODE_HOST_GUEST   1
 
#define PMU_CAP_FW_WRITES   (1ULL << 13)
 
#define PMU_CAP_LBR_FMT   0x3f
 

Functions

static bool cpu_has_vmx_basic_inout (void)
 
static bool cpu_has_virtual_nmis (void)
 
static bool cpu_has_vmx_preemption_timer (void)
 
static bool cpu_has_vmx_posted_intr (void)
 
static bool cpu_has_load_ia32_efer (void)
 
static bool cpu_has_load_perf_global_ctrl (void)
 
static bool cpu_has_vmx_mpx (void)
 
static bool cpu_has_vmx_tpr_shadow (void)
 
static bool cpu_need_tpr_shadow (struct kvm_vcpu *vcpu)
 
static bool cpu_has_vmx_msr_bitmap (void)
 
static bool cpu_has_secondary_exec_ctrls (void)
 
static bool cpu_has_tertiary_exec_ctrls (void)
 
static bool cpu_has_vmx_virtualize_apic_accesses (void)
 
static bool cpu_has_vmx_ept (void)
 
static bool vmx_umip_emulated (void)
 
static bool cpu_has_vmx_rdtscp (void)
 
static bool cpu_has_vmx_virtualize_x2apic_mode (void)
 
static bool cpu_has_vmx_vpid (void)
 
static bool cpu_has_vmx_wbinvd_exit (void)
 
static bool cpu_has_vmx_unrestricted_guest (void)
 
static bool cpu_has_vmx_apic_register_virt (void)
 
static bool cpu_has_vmx_virtual_intr_delivery (void)
 
static bool cpu_has_vmx_ple (void)
 
static bool cpu_has_vmx_rdrand (void)
 
static bool cpu_has_vmx_invpcid (void)
 
static bool cpu_has_vmx_vmfunc (void)
 
static bool cpu_has_vmx_shadow_vmcs (void)
 
static bool cpu_has_vmx_encls_vmexit (void)
 
static bool cpu_has_vmx_rdseed (void)
 
static bool cpu_has_vmx_pml (void)
 
static bool cpu_has_vmx_xsaves (void)
 
static bool cpu_has_vmx_waitpkg (void)
 
static bool cpu_has_vmx_tsc_scaling (void)
 
static bool cpu_has_vmx_bus_lock_detection (void)
 
static bool cpu_has_vmx_apicv (void)
 
static bool cpu_has_vmx_ipiv (void)
 
static bool cpu_has_vmx_flexpriority (void)
 
static bool cpu_has_vmx_ept_execute_only (void)
 
static bool cpu_has_vmx_ept_4levels (void)
 
static bool cpu_has_vmx_ept_5levels (void)
 
static bool cpu_has_vmx_ept_mt_wb (void)
 
static bool cpu_has_vmx_ept_2m_page (void)
 
static bool cpu_has_vmx_ept_1g_page (void)
 
static int ept_caps_to_lpage_level (u32 ept_caps)
 
static bool cpu_has_vmx_ept_ad_bits (void)
 
static bool cpu_has_vmx_invept_context (void)
 
static bool cpu_has_vmx_invept_global (void)
 
static bool cpu_has_vmx_invvpid (void)
 
static bool cpu_has_vmx_invvpid_individual_addr (void)
 
static bool cpu_has_vmx_invvpid_single (void)
 
static bool cpu_has_vmx_invvpid_global (void)
 
static bool cpu_has_vmx_intel_pt (void)
 
static bool vmx_pt_mode_is_system (void)
 
static bool vmx_pt_mode_is_host_guest (void)
 
static bool vmx_pebs_supported (void)
 
static bool cpu_has_notify_vmexit (void)
 

Variables

bool __read_mostly enable_vpid
 
bool __read_mostly flexpriority_enabled
 
bool __read_mostly enable_ept
 
bool __read_mostly enable_unrestricted_guest
 
bool __read_mostly enable_ept_ad_bits
 
bool __read_mostly enable_pml
 
bool __read_mostly enable_ipiv
 
int __read_mostly pt_mode
 
struct vmcs_config vmcs_config __ro_after_init
 

Macro Definition Documentation

◆ PMU_CAP_FW_WRITES

#define PMU_CAP_FW_WRITES   (1ULL << 13)

Definition at line 24 of file capabilities.h.

◆ PMU_CAP_LBR_FMT

#define PMU_CAP_LBR_FMT   0x3f

Definition at line 25 of file capabilities.h.

◆ PT_MODE_HOST_GUEST

#define PT_MODE_HOST_GUEST   1

Definition at line 22 of file capabilities.h.

◆ PT_MODE_SYSTEM

#define PT_MODE_SYSTEM   0

Definition at line 21 of file capabilities.h.

Function Documentation

◆ cpu_has_load_ia32_efer()

static bool cpu_has_load_ia32_efer ( void  )
inlinestatic

Definition at line 99 of file capabilities.h.

100 {
101  return vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_EFER;
102 }
u32 vmentry_ctrl
Definition: capabilities.h:65
Here is the caller graph for this function:

◆ cpu_has_load_perf_global_ctrl()

static bool cpu_has_load_perf_global_ctrl ( void  )
inlinestatic

Definition at line 104 of file capabilities.h.

105 {
106  return vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PERF_GLOBAL_CTRL;
107 }
Here is the caller graph for this function:

◆ cpu_has_notify_vmexit()

static bool cpu_has_notify_vmexit ( void  )
inlinestatic

Definition at line 398 of file capabilities.h.

399 {
401  SECONDARY_EXEC_NOTIFY_VM_EXITING;
402 }
u32 cpu_based_2nd_exec_ctrl
Definition: capabilities.h:62
Here is the caller graph for this function:

◆ cpu_has_secondary_exec_ctrls()

static bool cpu_has_secondary_exec_ctrls ( void  )
inlinestatic

Definition at line 129 of file capabilities.h.

130 {
132  CPU_BASED_ACTIVATE_SECONDARY_CONTROLS;
133 }
u32 cpu_based_exec_ctrl
Definition: capabilities.h:61
Here is the caller graph for this function:

◆ cpu_has_tertiary_exec_ctrls()

static bool cpu_has_tertiary_exec_ctrls ( void  )
inlinestatic

Definition at line 135 of file capabilities.h.

136 {
138  CPU_BASED_ACTIVATE_TERTIARY_CONTROLS;
139 }
Here is the caller graph for this function:

◆ cpu_has_virtual_nmis()

static bool cpu_has_virtual_nmis ( void  )
inlinestatic

Definition at line 82 of file capabilities.h.

83 {
84  return vmcs_config.pin_based_exec_ctrl & PIN_BASED_VIRTUAL_NMIS &&
85  vmcs_config.cpu_based_exec_ctrl & CPU_BASED_NMI_WINDOW_EXITING;
86 }
u32 pin_based_exec_ctrl
Definition: capabilities.h:60
Here is the caller graph for this function:

◆ cpu_has_vmx_apic_register_virt()

static bool cpu_has_vmx_apic_register_virt ( void  )
inlinestatic

Definition at line 189 of file capabilities.h.

190 {
192  SECONDARY_EXEC_APIC_REGISTER_VIRT;
193 }
Here is the caller graph for this function:

◆ cpu_has_vmx_apicv()

static bool cpu_has_vmx_apicv ( void  )
inlinestatic

Definition at line 276 of file capabilities.h.

277 {
281 }
static bool cpu_has_vmx_apic_register_virt(void)
Definition: capabilities.h:189
static bool cpu_has_vmx_virtual_intr_delivery(void)
Definition: capabilities.h:195
static bool cpu_has_vmx_posted_intr(void)
Definition: capabilities.h:94
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cpu_has_vmx_basic_inout()

static bool cpu_has_vmx_basic_inout ( void  )
inlinestatic

Definition at line 77 of file capabilities.h.

78 {
79  return (((u64)vmcs_config.basic_cap << 32) & VMX_BASIC_INOUT);
80 }
Here is the caller graph for this function:

◆ cpu_has_vmx_bus_lock_detection()

static bool cpu_has_vmx_bus_lock_detection ( void  )
inlinestatic

Definition at line 270 of file capabilities.h.

271 {
273  SECONDARY_EXEC_BUS_LOCK_DETECTION;
274 }
Here is the caller graph for this function:

◆ cpu_has_vmx_encls_vmexit()

static bool cpu_has_vmx_encls_vmexit ( void  )
inlinestatic

Definition at line 235 of file capabilities.h.

236 {
238  SECONDARY_EXEC_ENCLS_EXITING;
239 }
Here is the caller graph for this function:

◆ cpu_has_vmx_ept()

static bool cpu_has_vmx_ept ( void  )
inlinestatic

Definition at line 147 of file capabilities.h.

148 {
150  SECONDARY_EXEC_ENABLE_EPT;
151 }
Here is the caller graph for this function:

◆ cpu_has_vmx_ept_1g_page()

static bool cpu_has_vmx_ept_1g_page ( void  )
inlinestatic

Definition at line 319 of file capabilities.h.

320 {
321  return vmx_capability.ept & VMX_EPT_1GB_PAGE_BIT;
322 }

◆ cpu_has_vmx_ept_2m_page()

static bool cpu_has_vmx_ept_2m_page ( void  )
inlinestatic

Definition at line 314 of file capabilities.h.

315 {
316  return vmx_capability.ept & VMX_EPT_2MB_PAGE_BIT;
317 }

◆ cpu_has_vmx_ept_4levels()

static bool cpu_has_vmx_ept_4levels ( void  )
inlinestatic

Definition at line 299 of file capabilities.h.

300 {
301  return vmx_capability.ept & VMX_EPT_PAGE_WALK_4_BIT;
302 }
Here is the caller graph for this function:

◆ cpu_has_vmx_ept_5levels()

static bool cpu_has_vmx_ept_5levels ( void  )
inlinestatic

Definition at line 304 of file capabilities.h.

305 {
306  return vmx_capability.ept & VMX_EPT_PAGE_WALK_5_BIT;
307 }
Here is the caller graph for this function:

◆ cpu_has_vmx_ept_ad_bits()

static bool cpu_has_vmx_ept_ad_bits ( void  )
inlinestatic

Definition at line 333 of file capabilities.h.

334 {
335  return vmx_capability.ept & VMX_EPT_AD_BIT;
336 }
Here is the caller graph for this function:

◆ cpu_has_vmx_ept_execute_only()

static bool cpu_has_vmx_ept_execute_only ( void  )
inlinestatic

Definition at line 294 of file capabilities.h.

295 {
296  return vmx_capability.ept & VMX_EPT_EXECUTE_ONLY_BIT;
297 }
Here is the caller graph for this function:

◆ cpu_has_vmx_ept_mt_wb()

static bool cpu_has_vmx_ept_mt_wb ( void  )
inlinestatic

Definition at line 309 of file capabilities.h.

310 {
311  return vmx_capability.ept & VMX_EPTP_WB_BIT;
312 }
Here is the caller graph for this function:

◆ cpu_has_vmx_flexpriority()

static bool cpu_has_vmx_flexpriority ( void  )
inlinestatic

Definition at line 288 of file capabilities.h.

289 {
290  return cpu_has_vmx_tpr_shadow() &&
292 }
static bool cpu_has_vmx_tpr_shadow(void)
Definition: capabilities.h:114
static bool cpu_has_vmx_virtualize_apic_accesses(void)
Definition: capabilities.h:141
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cpu_has_vmx_intel_pt()

static bool cpu_has_vmx_intel_pt ( void  )
inlinestatic

Definition at line 368 of file capabilities.h.

369 {
370  return (vmcs_config.misc & MSR_IA32_VMX_MISC_INTEL_PT) &&
371  (vmcs_config.cpu_based_2nd_exec_ctrl & SECONDARY_EXEC_PT_USE_GPA) &&
372  (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_RTIT_CTL);
373 }
Here is the caller graph for this function:

◆ cpu_has_vmx_invept_context()

static bool cpu_has_vmx_invept_context ( void  )
inlinestatic

Definition at line 338 of file capabilities.h.

339 {
340  return vmx_capability.ept & VMX_EPT_EXTENT_CONTEXT_BIT;
341 }
Here is the caller graph for this function:

◆ cpu_has_vmx_invept_global()

static bool cpu_has_vmx_invept_global ( void  )
inlinestatic

Definition at line 343 of file capabilities.h.

344 {
345  return vmx_capability.ept & VMX_EPT_EXTENT_GLOBAL_BIT;
346 }
Here is the caller graph for this function:

◆ cpu_has_vmx_invpcid()

static bool cpu_has_vmx_invpcid ( void  )
inlinestatic

Definition at line 213 of file capabilities.h.

214 {
216  SECONDARY_EXEC_ENABLE_INVPCID;
217 }
Here is the caller graph for this function:

◆ cpu_has_vmx_invvpid()

static bool cpu_has_vmx_invvpid ( void  )
inlinestatic

Definition at line 348 of file capabilities.h.

349 {
350  return vmx_capability.vpid & VMX_VPID_INVVPID_BIT;
351 }
Here is the caller graph for this function:

◆ cpu_has_vmx_invvpid_global()

static bool cpu_has_vmx_invvpid_global ( void  )
inlinestatic

Definition at line 363 of file capabilities.h.

364 {
365  return vmx_capability.vpid & VMX_VPID_EXTENT_GLOBAL_CONTEXT_BIT;
366 }
Here is the caller graph for this function:

◆ cpu_has_vmx_invvpid_individual_addr()

static bool cpu_has_vmx_invvpid_individual_addr ( void  )
inlinestatic

Definition at line 353 of file capabilities.h.

354 {
355  return vmx_capability.vpid & VMX_VPID_EXTENT_INDIVIDUAL_ADDR_BIT;
356 }
Here is the caller graph for this function:

◆ cpu_has_vmx_invvpid_single()

static bool cpu_has_vmx_invvpid_single ( void  )
inlinestatic

Definition at line 358 of file capabilities.h.

359 {
360  return vmx_capability.vpid & VMX_VPID_EXTENT_SINGLE_CONTEXT_BIT;
361 }
Here is the caller graph for this function:

◆ cpu_has_vmx_ipiv()

static bool cpu_has_vmx_ipiv ( void  )
inlinestatic

Definition at line 283 of file capabilities.h.

284 {
285  return vmcs_config.cpu_based_3rd_exec_ctrl & TERTIARY_EXEC_IPI_VIRT;
286 }
u64 cpu_based_3rd_exec_ctrl
Definition: capabilities.h:63
Here is the caller graph for this function:

◆ cpu_has_vmx_mpx()

static bool cpu_has_vmx_mpx ( void  )
inlinestatic

Definition at line 109 of file capabilities.h.

110 {
111  return vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_BNDCFGS;
112 }
Here is the caller graph for this function:

◆ cpu_has_vmx_msr_bitmap()

static bool cpu_has_vmx_msr_bitmap ( void  )
inlinestatic

Definition at line 124 of file capabilities.h.

125 {
126  return vmcs_config.cpu_based_exec_ctrl & CPU_BASED_USE_MSR_BITMAPS;
127 }
Here is the caller graph for this function:

◆ cpu_has_vmx_ple()

static bool cpu_has_vmx_ple ( void  )
inlinestatic

Definition at line 201 of file capabilities.h.

202 {
204  SECONDARY_EXEC_PAUSE_LOOP_EXITING;
205 }
Here is the caller graph for this function:

◆ cpu_has_vmx_pml()

static bool cpu_has_vmx_pml ( void  )
inlinestatic

Definition at line 247 of file capabilities.h.

248 {
249  return vmcs_config.cpu_based_2nd_exec_ctrl & SECONDARY_EXEC_ENABLE_PML;
250 }
Here is the caller graph for this function:

◆ cpu_has_vmx_posted_intr()

static bool cpu_has_vmx_posted_intr ( void  )
inlinestatic

Definition at line 94 of file capabilities.h.

95 {
96  return vmcs_config.pin_based_exec_ctrl & PIN_BASED_POSTED_INTR;
97 }
Here is the caller graph for this function:

◆ cpu_has_vmx_preemption_timer()

static bool cpu_has_vmx_preemption_timer ( void  )
inlinestatic

Definition at line 88 of file capabilities.h.

89 {
91  PIN_BASED_VMX_PREEMPTION_TIMER;
92 }
Here is the caller graph for this function:

◆ cpu_has_vmx_rdrand()

static bool cpu_has_vmx_rdrand ( void  )
inlinestatic

Definition at line 207 of file capabilities.h.

208 {
210  SECONDARY_EXEC_RDRAND_EXITING;
211 }

◆ cpu_has_vmx_rdseed()

static bool cpu_has_vmx_rdseed ( void  )
inlinestatic

Definition at line 241 of file capabilities.h.

242 {
244  SECONDARY_EXEC_RDSEED_EXITING;
245 }

◆ cpu_has_vmx_rdtscp()

static bool cpu_has_vmx_rdtscp ( void  )
inlinestatic

Definition at line 159 of file capabilities.h.

160 {
162  SECONDARY_EXEC_ENABLE_RDTSCP;
163 }
Here is the caller graph for this function:

◆ cpu_has_vmx_shadow_vmcs()

static bool cpu_has_vmx_shadow_vmcs ( void  )
inlinestatic

Definition at line 225 of file capabilities.h.

226 {
227  /* check if the cpu supports writing r/o exit information fields */
228  if (!(vmcs_config.misc & MSR_IA32_VMX_MISC_VMWRITE_SHADOW_RO_FIELDS))
229  return false;
230 
232  SECONDARY_EXEC_SHADOW_VMCS;
233 }
Here is the caller graph for this function:

◆ cpu_has_vmx_tpr_shadow()

static bool cpu_has_vmx_tpr_shadow ( void  )
inlinestatic

Definition at line 114 of file capabilities.h.

115 {
116  return vmcs_config.cpu_based_exec_ctrl & CPU_BASED_TPR_SHADOW;
117 }
Here is the caller graph for this function:

◆ cpu_has_vmx_tsc_scaling()

static bool cpu_has_vmx_tsc_scaling ( void  )
inlinestatic

Definition at line 264 of file capabilities.h.

265 {
267  SECONDARY_EXEC_TSC_SCALING;
268 }
Here is the caller graph for this function:

◆ cpu_has_vmx_unrestricted_guest()

static bool cpu_has_vmx_unrestricted_guest ( void  )
inlinestatic

Definition at line 183 of file capabilities.h.

184 {
186  SECONDARY_EXEC_UNRESTRICTED_GUEST;
187 }
Here is the caller graph for this function:

◆ cpu_has_vmx_virtual_intr_delivery()

static bool cpu_has_vmx_virtual_intr_delivery ( void  )
inlinestatic

Definition at line 195 of file capabilities.h.

196 {
198  SECONDARY_EXEC_VIRTUAL_INTR_DELIVERY;
199 }
Here is the caller graph for this function:

◆ cpu_has_vmx_virtualize_apic_accesses()

static bool cpu_has_vmx_virtualize_apic_accesses ( void  )
inlinestatic

Definition at line 141 of file capabilities.h.

142 {
144  SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES;
145 }
Here is the caller graph for this function:

◆ cpu_has_vmx_virtualize_x2apic_mode()

static bool cpu_has_vmx_virtualize_x2apic_mode ( void  )
inlinestatic

Definition at line 165 of file capabilities.h.

166 {
168  SECONDARY_EXEC_VIRTUALIZE_X2APIC_MODE;
169 }
Here is the caller graph for this function:

◆ cpu_has_vmx_vmfunc()

static bool cpu_has_vmx_vmfunc ( void  )
inlinestatic

Definition at line 219 of file capabilities.h.

220 {
222  SECONDARY_EXEC_ENABLE_VMFUNC;
223 }
Here is the caller graph for this function:

◆ cpu_has_vmx_vpid()

static bool cpu_has_vmx_vpid ( void  )
inlinestatic

Definition at line 171 of file capabilities.h.

172 {
174  SECONDARY_EXEC_ENABLE_VPID;
175 }
Here is the caller graph for this function:

◆ cpu_has_vmx_waitpkg()

static bool cpu_has_vmx_waitpkg ( void  )
inlinestatic

Definition at line 258 of file capabilities.h.

259 {
261  SECONDARY_EXEC_ENABLE_USR_WAIT_PAUSE;
262 }
Here is the caller graph for this function:

◆ cpu_has_vmx_wbinvd_exit()

static bool cpu_has_vmx_wbinvd_exit ( void  )
inlinestatic

Definition at line 177 of file capabilities.h.

178 {
180  SECONDARY_EXEC_WBINVD_EXITING;
181 }

◆ cpu_has_vmx_xsaves()

static bool cpu_has_vmx_xsaves ( void  )
inlinestatic

Definition at line 252 of file capabilities.h.

253 {
255  SECONDARY_EXEC_ENABLE_XSAVES;
256 }
Here is the caller graph for this function:

◆ cpu_need_tpr_shadow()

static bool cpu_need_tpr_shadow ( struct kvm_vcpu *  vcpu)
inlinestatic

Definition at line 119 of file capabilities.h.

120 {
121  return cpu_has_vmx_tpr_shadow() && lapic_in_kernel(vcpu);
122 }
static bool lapic_in_kernel(struct kvm_vcpu *vcpu)
Definition: lapic.h:186
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ept_caps_to_lpage_level()

static int ept_caps_to_lpage_level ( u32  ept_caps)
inlinestatic

Definition at line 324 of file capabilities.h.

325 {
326  if (ept_caps & VMX_EPT_1GB_PAGE_BIT)
327  return PG_LEVEL_1G;
328  if (ept_caps & VMX_EPT_2MB_PAGE_BIT)
329  return PG_LEVEL_2M;
330  return PG_LEVEL_4K;
331 }
Here is the caller graph for this function:

◆ vmx_pebs_supported()

static bool vmx_pebs_supported ( void  )
inlinestatic

Definition at line 393 of file capabilities.h.

394 {
395  return boot_cpu_has(X86_FEATURE_PEBS) && kvm_pmu_cap.pebs_ept;
396 }
struct x86_pmu_capability __read_mostly kvm_pmu_cap
Definition: pmu.c:29
Here is the caller graph for this function:

◆ vmx_pt_mode_is_host_guest()

static bool vmx_pt_mode_is_host_guest ( void  )
inlinestatic

Definition at line 388 of file capabilities.h.

389 {
390  return pt_mode == PT_MODE_HOST_GUEST;
391 }
#define PT_MODE_HOST_GUEST
Definition: capabilities.h:22
int __read_mostly pt_mode
Definition: vmx.c:215
Here is the caller graph for this function:

◆ vmx_pt_mode_is_system()

static bool vmx_pt_mode_is_system ( void  )
inlinestatic

Definition at line 384 of file capabilities.h.

385 {
386  return pt_mode == PT_MODE_SYSTEM;
387 }
#define PT_MODE_SYSTEM
Definition: capabilities.h:21
Here is the caller graph for this function:

◆ vmx_umip_emulated()

static bool vmx_umip_emulated ( void  )
inlinestatic

Definition at line 153 of file capabilities.h.

154 {
155  return !boot_cpu_has(X86_FEATURE_UMIP) &&
156  (vmcs_config.cpu_based_2nd_exec_ctrl & SECONDARY_EXEC_DESC);
157 }
Here is the caller graph for this function:

Variable Documentation

◆ __ro_after_init

struct vmx_capability vmx_capability __ro_after_init
extern

Definition at line 19 of file capabilities.h.

◆ enable_ept

bool __read_mostly enable_ept
extern

Definition at line 91 of file vmx.c.

◆ enable_ept_ad_bits

bool __read_mostly enable_ept_ad_bits
extern

Definition at line 98 of file vmx.c.

◆ enable_ipiv

bool __read_mostly enable_ipiv
extern

Definition at line 109 of file vmx.c.

◆ enable_pml

bool __read_mostly enable_pml
extern

Definition at line 120 of file vmx.c.

◆ enable_unrestricted_guest

bool __read_mostly enable_unrestricted_guest
extern

Definition at line 94 of file vmx.c.

◆ enable_vpid

bool __read_mostly enable_vpid
extern

Definition at line 82 of file vmx.c.

◆ flexpriority_enabled

bool __read_mostly flexpriority_enabled
extern

Definition at line 88 of file vmx.c.

◆ pt_mode

int __read_mostly pt_mode
extern

Definition at line 215 of file vmx.c.