Home
last modified time | relevance | path

Searched refs:vmx_capability (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kvm/vmx/
Dcapabilities.h63 struct vmx_capability { struct
67 extern struct vmx_capability vmx_capability; argument
277 return vmx_capability.ept & VMX_EPT_EXECUTE_ONLY_BIT; in cpu_has_vmx_ept_execute_only()
282 return vmx_capability.ept & VMX_EPT_PAGE_WALK_4_BIT; in cpu_has_vmx_ept_4levels()
287 return vmx_capability.ept & VMX_EPT_PAGE_WALK_5_BIT; in cpu_has_vmx_ept_5levels()
292 return vmx_capability.ept & VMX_EPTP_WB_BIT; in cpu_has_vmx_ept_mt_wb()
297 return vmx_capability.ept & VMX_EPT_2MB_PAGE_BIT; in cpu_has_vmx_ept_2m_page()
302 return vmx_capability.ept & VMX_EPT_1GB_PAGE_BIT; in cpu_has_vmx_ept_1g_page()
307 return vmx_capability.ept & VMX_EPT_AD_BIT; in cpu_has_vmx_ept_ad_bits()
312 return vmx_capability.ept & VMX_EPT_EXTENT_CONTEXT_BIT; in cpu_has_vmx_invept_context()
[all …]
Dvmx.c412 struct vmx_capability vmx_capability; variable
2334 struct vmx_capability *vmx_cap) in setup_vmcs_config()
6800 vmx_capability.ept, in vmx_create_vcpu()
6878 struct vmx_capability vmx_cap; in vmx_check_processor_compat()
7594 if (setup_vmcs_config(&vmcs_config, &vmx_capability) < 0) in hardware_setup()
7734 vmx_capability.ept, enable_apicv); in hardware_setup()