Lines Matching refs:vmcs_config
496 struct vmcs_config vmcs_config __ro_after_init;
1983 return vmx_get_vmx_msr(&vmcs_config.nested, msr->index, &msr->data); in vmx_get_msr_feature()
2329 if (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PAT) in vmx_set_msr()
2581 static int setup_vmcs_config(struct vmcs_config *vmcs_conf, in setup_vmcs_config()
2780 struct vmcs_config vmcs_conf; in vmx_check_processor_compat()
2792 if (memcmp(&vmcs_config, &vmcs_conf, sizeof(struct vmcs_config))) { in vmx_check_processor_compat()
2881 memset(vmcs, 0, vmcs_config.size); in alloc_vmcs_cpu()
2887 vmcs->hdr.revision_id = vmcs_config.revision_id; in alloc_vmcs_cpu()
2980 vmcs->hdr.revision_id = vmcs_config.revision_id; in alloc_kvm_area()
4362 if (vmcs_config.vmexit_ctrl & VM_EXIT_LOAD_IA32_PAT) { in vmx_set_constant_host_state()
4389 u32 pin_based_exec_ctrl = vmcs_config.pin_based_exec_ctrl; in vmx_pin_based_exec_ctrl()
4405 u32 vmentry_ctrl = vmcs_config.vmentry_ctrl; in vmx_vmentry_ctrl()
4425 u32 vmexit_ctrl = vmcs_config.vmexit_ctrl; in vmx_vmexit_ctrl()
4476 u32 exec_control = vmcs_config.cpu_based_exec_ctrl; in vmx_exec_control()
4520 u64 exec_control = vmcs_config.cpu_based_3rd_exec_ctrl; in vmx_tertiary_exec_control()
4561 if (WARN_ON_ONCE(!(vmcs_config.nested.secondary_ctls_high & control))) in vmx_adjust_secondary_exec_control()
4602 u32 exec_control = vmcs_config.cpu_based_2nd_exec_ctrl; in vmx_secondary_exec_control()
4786 if (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PAT) in init_vmcs()
4842 memcpy(&vmx->nested.msrs, &vmcs_config.nested, sizeof(vmx->nested.msrs)); in __vmx_vcpu_reset()
8473 if (setup_vmcs_config(&vmcs_config, &vmx_capability) < 0) in hardware_setup()
8600 vmcs_config.misc & VMX_MISC_PREEMPTION_TIMER_RATE_MASK; in hardware_setup()
8636 nested_vmx_setup_ctls_msrs(&vmcs_config, vmx_capability.ept); in hardware_setup()