Lines Matching refs:vmcs_conf
2464 static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf, in setup_vmcs_config() argument
2475 memset(vmcs_conf, 0, sizeof(*vmcs_conf)); in setup_vmcs_config()
2644 vmcs_conf->size = vmx_msr_high & 0x1fff; in setup_vmcs_config()
2645 vmcs_conf->order = get_order(vmcs_conf->size); in setup_vmcs_config()
2646 vmcs_conf->basic_cap = vmx_msr_high & ~0x1fff; in setup_vmcs_config()
2648 vmcs_conf->revision_id = vmx_msr_low; in setup_vmcs_config()
2650 vmcs_conf->pin_based_exec_ctrl = _pin_based_exec_control; in setup_vmcs_config()
2651 vmcs_conf->cpu_based_exec_ctrl = _cpu_based_exec_control; in setup_vmcs_config()
2652 vmcs_conf->cpu_based_2nd_exec_ctrl = _cpu_based_2nd_exec_control; in setup_vmcs_config()
2653 vmcs_conf->vmexit_ctrl = _vmexit_control; in setup_vmcs_config()
2654 vmcs_conf->vmentry_ctrl = _vmentry_control; in setup_vmcs_config()
2658 evmcs_sanitize_exec_ctrls(vmcs_conf); in setup_vmcs_config()
7143 struct vmcs_config vmcs_conf; in vmx_check_processor_compat() local
7152 if (setup_vmcs_config(&vmcs_conf, &vmx_cap) < 0) in vmx_check_processor_compat()
7155 nested_vmx_setup_ctls_msrs(&vmcs_conf.nested, vmx_cap.ept); in vmx_check_processor_compat()
7156 if (memcmp(&vmcs_config, &vmcs_conf, sizeof(struct vmcs_config)) != 0) { in vmx_check_processor_compat()