Searched refs:vmcs_config (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/arch/x86/kvm/vmx/ |
A D | capabilities.h | 56 struct vmcs_config { struct 69 extern struct vmcs_config vmcs_config __ro_after_init; argument 90 return vmcs_config.pin_based_exec_ctrl & in cpu_has_vmx_preemption_timer() 131 return vmcs_config.cpu_based_exec_ctrl & in cpu_has_secondary_exec_ctrls() 137 return vmcs_config.cpu_based_exec_ctrl & in cpu_has_tertiary_exec_ctrls() 143 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_virtualize_apic_accesses() 149 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_ept() 155 return vmcs_config.cpu_based_2nd_exec_ctrl & in vmx_umip_emulated() 161 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_rdtscp() 167 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_virtualize_x2apic_mode() [all …]
|
A D | hyperv.h | 17 struct vmcs_config; 264 void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf);
|
A D | vmx.c | 492 struct vmcs_config vmcs_config __ro_after_init; 2767 struct vmcs_config vmcs_conf; in vmx_check_processor_compat() 2779 if (memcmp(&vmcs_config, &vmcs_conf, sizeof(struct vmcs_config))) { in vmx_check_processor_compat() 2869 memset(vmcs, 0, vmcs_config.size); in alloc_vmcs_cpu() 2875 vmcs->hdr.revision_id = vmcs_config.revision_id; in alloc_vmcs_cpu() 2968 vmcs->hdr.revision_id = vmcs_config.revision_id; in alloc_kvm_area() 4337 if (vmcs_config.vmexit_ctrl & VM_EXIT_LOAD_IA32_PAT) { in vmx_set_constant_host_state() 4380 u32 vmentry_ctrl = vmcs_config.vmentry_ctrl; in vmx_vmentry_ctrl() 4400 u32 vmexit_ctrl = vmcs_config.vmexit_ctrl; in vmx_vmexit_ctrl() 4451 u32 exec_control = vmcs_config.cpu_based_exec_ctrl; in vmx_exec_control() [all …]
|
A D | nested.h | 20 void nested_vmx_setup_ctls_msrs(struct vmcs_config *vmcs_conf, u32 ept_caps);
|
A D | nested.c | 1205 u64 vmx_basic = vmcs_config.nested.basic; in vmx_restore_vmx_basic() 1263 vmx_get_control_msr(&vmcs_config.nested, msr_index, &lowp, &highp); in vmx_restore_control_msr() 1289 u64 vmx_misc = vmx_control_msr(vmcs_config.nested.misc_low, in vmx_restore_vmx_misc() 1290 vmcs_config.nested.misc_high); in vmx_restore_vmx_misc() 1318 u64 vmx_ept_vpid_cap = vmx_control_msr(vmcs_config.nested.ept_caps, in vmx_restore_vmx_ept_vpid_cap() 1319 vmcs_config.nested.vpid_caps); in vmx_restore_vmx_ept_vpid_cap() 1344 const u64 *msr = vmx_get_fixed0_msr(&vmcs_config.nested, msr_index); in vmx_restore_fixed0_msr() 1414 if (data & ~vmcs_config.nested.vmfunc_controls) in vmx_set_vmx_msr() 2569 } else if (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PAT) { in prepare_vmcs02() 6763 void nested_vmx_setup_ctls_msrs(struct vmcs_config *vmcs_conf, u32 ept_caps) in nested_vmx_setup_ctls_msrs()
|
A D | hyperv.c | 529 void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf) in evmcs_sanitize_exec_ctrls()
|
Completed in 31 milliseconds