Home
last modified time | relevance | path

Searched refs:ept_caps (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/arch/x86/kvm/vmx/
Dcapabilities.h45 u32 ept_caps; member
324 static inline int ept_caps_to_lpage_level(u32 ept_caps) in ept_caps_to_lpage_level() argument
326 if (ept_caps & VMX_EPT_1GB_PAGE_BIT) in ept_caps_to_lpage_level()
328 if (ept_caps & VMX_EPT_2MB_PAGE_BIT) in ept_caps_to_lpage_level()
Dnested.c403 bool execonly = vmx->nested.msrs.ept_caps & VMX_EPT_EXECUTE_ONLY_BIT; in nested_ept_new_eptp()
404 int ept_lpage_level = ept_caps_to_lpage_level(vmx->nested.msrs.ept_caps); in nested_ept_new_eptp()
1301 u64 vmx_ept_vpid_cap = vmx_control_msr(vmcs_config.nested.ept_caps, in vmx_restore_vmx_ept_vpid_cap()
1308 vmx->nested.msrs.ept_caps = data; in vmx_restore_vmx_ept_vpid_cap()
1474 *pdata = msrs->ept_caps | in vmx_get_vmx_msr()
2666 if (CC(!(vmx->nested.msrs.ept_caps & VMX_EPTP_UC_BIT))) in nested_vmx_check_eptp()
2670 if (CC(!(vmx->nested.msrs.ept_caps & VMX_EPTP_WB_BIT))) in nested_vmx_check_eptp()
2680 if (CC(!(vmx->nested.msrs.ept_caps & VMX_EPT_PAGE_WALK_5_BIT))) in nested_vmx_check_eptp()
2684 if (CC(!(vmx->nested.msrs.ept_caps & VMX_EPT_PAGE_WALK_4_BIT))) in nested_vmx_check_eptp()
2697 if (CC(!(vmx->nested.msrs.ept_caps & VMX_EPT_AD_BIT))) in nested_vmx_check_eptp()
[all …]
Dnested.h20 void nested_vmx_setup_ctls_msrs(struct vmcs_config *vmcs_conf, u32 ept_caps);