Searched refs:vmx_capability (Results 1 – 6 of 6) sorted by relevance
40 c->vmx_capability[PRIMARY_CTLS] = supported; in init_vmx_capabilities()43 c->vmx_capability[SECONDARY_CTLS] = supported; in init_vmx_capabilities()57 c->vmx_capability[MISC_FEATURES] = (supported & 0xffff) | in init_vmx_capabilities()63 c->vmx_capability[MISC_FEATURES] |= VMX_F(EPT_EXECUTE_ONLY); in init_vmx_capabilities()65 c->vmx_capability[MISC_FEATURES] |= VMX_F(EPT_AD); in init_vmx_capabilities()67 c->vmx_capability[MISC_FEATURES] |= VMX_F(EPT_1GB); in init_vmx_capabilities()70 if ((c->vmx_capability[PRIMARY_CTLS] & VMX_F(VIRTUAL_TPR)) && in init_vmx_capabilities()71 (c->vmx_capability[SECONDARY_CTLS] & VMX_F(VIRT_APIC_ACCESSES))) in init_vmx_capabilities()72 c->vmx_capability[MISC_FEATURES] |= VMX_F(FLEXPRIORITY); in init_vmx_capabilities()74 if ((c->vmx_capability[PRIMARY_CTLS] & VMX_F(VIRTUAL_TPR)) && in init_vmx_capabilities()[all …]
110 if (cpu_has(c, X86_FEATURE_VMX) && c->vmx_capability[0]) { in show_cpuinfo()113 if (test_bit(i, (unsigned long *)c->vmx_capability) && in show_cpuinfo()
1675 memset(&c->vmx_capability, 0, sizeof(c->vmx_capability)); in identify_cpu()
68 struct vmx_capability { struct72 extern struct vmx_capability vmx_capability; argument287 return vmx_capability.ept & VMX_EPT_EXECUTE_ONLY_BIT; in cpu_has_vmx_ept_execute_only()292 return vmx_capability.ept & VMX_EPT_PAGE_WALK_4_BIT; in cpu_has_vmx_ept_4levels()297 return vmx_capability.ept & VMX_EPT_PAGE_WALK_5_BIT; in cpu_has_vmx_ept_5levels()302 return vmx_capability.ept & VMX_EPTP_WB_BIT; in cpu_has_vmx_ept_mt_wb()307 return vmx_capability.ept & VMX_EPT_2MB_PAGE_BIT; in cpu_has_vmx_ept_2m_page()312 return vmx_capability.ept & VMX_EPT_1GB_PAGE_BIT; in cpu_has_vmx_ept_1g_page()317 return vmx_capability.ept & VMX_EPT_AD_BIT; in cpu_has_vmx_ept_ad_bits()322 return vmx_capability.ept & VMX_EPT_EXTENT_CONTEXT_BIT; in cpu_has_vmx_invept_context()[all …]
481 struct vmx_capability vmx_capability; variable2485 struct vmx_capability *vmx_cap) in setup_vmcs_config()7118 struct vmx_capability vmx_cap; in vmx_check_processor_compat()7925 if (setup_vmcs_config(&vmcs_config, &vmx_capability) < 0) in hardware_setup()8086 vmx_capability.ept); in hardware_setup()
91 __u32 vmx_capability[NVMXINTS]; member