Lines Matching refs:vmcs_conf

1474 static void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf)  in evmcs_sanitize_exec_ctrls()  argument
1488 vmcs_conf->pin_based_exec_ctrl &= ~PIN_BASED_POSTED_INTR; in evmcs_sanitize_exec_ctrls()
1489 vmcs_conf->cpu_based_2nd_exec_ctrl &= in evmcs_sanitize_exec_ctrls()
1491 vmcs_conf->cpu_based_2nd_exec_ctrl &= in evmcs_sanitize_exec_ctrls()
1493 vmcs_conf->cpu_based_2nd_exec_ctrl &= in evmcs_sanitize_exec_ctrls()
1500 vmcs_conf->cpu_based_2nd_exec_ctrl &= ~SECONDARY_EXEC_ENABLE_PML; in evmcs_sanitize_exec_ctrls()
1503 vmcs_conf->cpu_based_2nd_exec_ctrl &= ~SECONDARY_EXEC_ENABLE_VMFUNC; in evmcs_sanitize_exec_ctrls()
1510 vmcs_conf->cpu_based_2nd_exec_ctrl &= ~SECONDARY_EXEC_SHADOW_VMCS; in evmcs_sanitize_exec_ctrls()
1515 vmcs_conf->cpu_based_2nd_exec_ctrl &= ~SECONDARY_EXEC_TSC_SCALING; in evmcs_sanitize_exec_ctrls()
1521 vmcs_conf->cpu_based_2nd_exec_ctrl &= ~SECONDARY_EXEC_PAUSE_LOOP_EXITING; in evmcs_sanitize_exec_ctrls()
1526 vmcs_conf->pin_based_exec_ctrl &= ~PIN_BASED_VMX_PREEMPTION_TIMER; in evmcs_sanitize_exec_ctrls()
1532 vmcs_conf->vmexit_ctrl &= ~VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL; in evmcs_sanitize_exec_ctrls()
1533 vmcs_conf->vmentry_ctrl &= ~VM_ENTRY_LOAD_IA32_PERF_GLOBAL_CTRL; in evmcs_sanitize_exec_ctrls()
1594 static inline void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf) {} in evmcs_sanitize_exec_ctrls() argument
4510 static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf) in setup_vmcs_config() argument
4520 memset(vmcs_conf, 0, sizeof(*vmcs_conf)); in setup_vmcs_config()
4652 vmcs_conf->size = vmx_msr_high & 0x1fff; in setup_vmcs_config()
4653 vmcs_conf->order = get_order(vmcs_conf->size); in setup_vmcs_config()
4654 vmcs_conf->basic_cap = vmx_msr_high & ~0x1fff; in setup_vmcs_config()
4656 vmcs_conf->revision_id = vmx_msr_low; in setup_vmcs_config()
4658 vmcs_conf->pin_based_exec_ctrl = _pin_based_exec_control; in setup_vmcs_config()
4659 vmcs_conf->cpu_based_exec_ctrl = _cpu_based_exec_control; in setup_vmcs_config()
4660 vmcs_conf->cpu_based_2nd_exec_ctrl = _cpu_based_2nd_exec_control; in setup_vmcs_config()
4661 vmcs_conf->vmexit_ctrl = _vmexit_control; in setup_vmcs_config()
4662 vmcs_conf->vmentry_ctrl = _vmentry_control; in setup_vmcs_config()
4665 evmcs_sanitize_exec_ctrls(vmcs_conf); in setup_vmcs_config()
11131 struct vmcs_config vmcs_conf; in vmx_check_processor_compat() local
11134 if (setup_vmcs_config(&vmcs_conf) < 0) in vmx_check_processor_compat()
11136 nested_vmx_setup_ctls_msrs(&vmcs_conf.nested, enable_apicv); in vmx_check_processor_compat()
11137 if (memcmp(&vmcs_config, &vmcs_conf, sizeof(struct vmcs_config)) != 0) { in vmx_check_processor_compat()