Home
last modified time | relevance | path

Searched refs:vmcs_config (Results 1 – 6 of 6) sorted by relevance

/arch/x86/kvm/vmx/
A Dcapabilities.h55 struct vmcs_config { struct
66 extern struct vmcs_config vmcs_config __ro_after_init; argument
76 return vmcs_config.basic & VMX_BASIC_INOUT; in cpu_has_vmx_basic_inout()
87 return vmcs_config.pin_based_exec_ctrl & in cpu_has_vmx_preemption_timer()
128 return vmcs_config.cpu_based_exec_ctrl & in cpu_has_secondary_exec_ctrls()
134 return vmcs_config.cpu_based_exec_ctrl & in cpu_has_tertiary_exec_ctrls()
140 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_virtualize_apic_accesses()
146 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_ept()
158 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_rdtscp()
164 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_virtualize_x2apic_mode()
[all …]
A Dvmx_onhyperv.c28 void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf) in evmcs_sanitize_exec_ctrls()
A Dvmx_onhyperv.h121 void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf);
A Dvmx.c482 struct vmcs_config vmcs_config __ro_after_init;
1950 return vmx_get_vmx_msr(&vmcs_config.nested, msr, data); in vmx_get_feature_msr()
2307 if (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PAT) in vmx_set_msr()
2771 struct vmcs_config vmcs_conf; in vmx_check_processor_compat()
2783 if (memcmp(&vmcs_config, &vmcs_conf, sizeof(struct vmcs_config))) { in vmx_check_processor_compat()
4266 if (vmcs_config.vmexit_ctrl & VM_EXIT_LOAD_IA32_PAT) { in vmx_set_constant_host_state()
4309 u32 vmentry_ctrl = vmcs_config.vmentry_ctrl; in vmx_vmentry_ctrl()
4326 u32 vmexit_ctrl = vmcs_config.vmexit_ctrl; in vmx_vmexit_ctrl()
4373 u32 exec_control = vmcs_config.cpu_based_exec_ctrl; in vmx_exec_control()
4686 if (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PAT) in init_vmcs()
[all …]
A Dnested.c1281 u64 vmx_basic = vmcs_config.nested.basic; in vmx_restore_vmx_basic()
1347 vmx_get_control_msr(&vmcs_config.nested, msr_index, &lowp, &highp); in vmx_restore_control_msr()
1379 u64 vmx_misc = vmx_control_msr(vmcs_config.nested.misc_low, in vmx_restore_vmx_misc()
1380 vmcs_config.nested.misc_high); in vmx_restore_vmx_misc()
1415 u64 vmx_ept_vpid_cap = vmx_control_msr(vmcs_config.nested.ept_caps, in vmx_restore_vmx_ept_vpid_cap()
1416 vmcs_config.nested.vpid_caps); in vmx_restore_vmx_ept_vpid_cap()
1441 const u64 *msr = vmx_get_fixed0_msr(&vmcs_config.nested, msr_index); in vmx_restore_fixed0_msr()
1511 if (data & ~vmcs_config.nested.vmfunc_controls) in vmx_set_vmx_msr()
2695 } else if (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PAT) { in prepare_vmcs02()
7020 static void nested_vmx_setup_exit_ctls(struct vmcs_config *vmcs_conf, in nested_vmx_setup_exit_ctls()
[all …]
A Dnested.h21 void nested_vmx_setup_ctls_msrs(struct vmcs_config *vmcs_conf, u32 ept_caps);

Completed in 31 milliseconds