Home
last modified time | relevance | path

Searched refs:vmcs_conf (Results 1 – 4 of 4) sorted by relevance

/linux/arch/x86/kvm/vmx/
H A Dvmx_onhyperv.c17 typeof(vmcs_conf->field) unsupported; \
19 unsupported = vmcs_conf->field & ~EVMCS1_SUPPORTED_ ## ctrl; \
23 vmcs_conf->field &= EVMCS1_SUPPORTED_ ## ctrl; \
28 void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf) in evmcs_sanitize_exec_ctrls() argument
H A Dnested.c7111 static void nested_vmx_setup_pinbased_ctls(struct vmcs_config *vmcs_conf, in nested_vmx_setup_pinbased_ctls() argument
7117 msrs->pinbased_ctls_high = vmcs_conf->pin_based_exec_ctrl; in nested_vmx_setup_pinbased_ctls()
7128 static void nested_vmx_setup_exit_ctls(struct vmcs_config *vmcs_conf, in nested_vmx_setup_exit_ctls() argument
7134 msrs->exit_ctls_high = vmcs_conf->vmexit_ctrl; in nested_vmx_setup_exit_ctls()
7155 static void nested_vmx_setup_entry_ctls(struct vmcs_config *vmcs_conf, in nested_vmx_setup_entry_ctls() argument
7161 msrs->entry_ctls_high = vmcs_conf->vmentry_ctrl; in nested_vmx_setup_entry_ctls()
7180 static void nested_vmx_setup_cpubased_ctls(struct vmcs_config *vmcs_conf, in nested_vmx_setup_cpubased_ctls() argument
7186 msrs->procbased_ctls_high = vmcs_conf->cpu_based_exec_ctrl; in nested_vmx_setup_cpubased_ctls()
7217 struct vmcs_config *vmcs_conf, in nested_vmx_setup_secondary_ctls() argument
7222 msrs->secondary_ctls_high = vmcs_conf->cpu_based_2nd_exec_ctrl; in nested_vmx_setup_secondary_ctls()
[all …]
H A Dnested.h21 void nested_vmx_setup_ctls_msrs(struct vmcs_config *vmcs_conf, u32 ept_caps);
H A Dvmx.c2701 static int setup_vmcs_config(struct vmcs_config *vmcs_conf, in setup_vmcs_config() argument
2730 memset(vmcs_conf, 0, sizeof(*vmcs_conf)); in setup_vmcs_config()
2863 vmcs_conf->basic = basic_msr; in setup_vmcs_config()
2864 vmcs_conf->pin_based_exec_ctrl = _pin_based_exec_control; in setup_vmcs_config()
2865 vmcs_conf->cpu_based_exec_ctrl = _cpu_based_exec_control; in setup_vmcs_config()
2866 vmcs_conf->cpu_based_2nd_exec_ctrl = _cpu_based_2nd_exec_control; in setup_vmcs_config()
2867 vmcs_conf->cpu_based_3rd_exec_ctrl = _cpu_based_3rd_exec_control; in setup_vmcs_config()
2868 vmcs_conf->vmexit_ctrl = _vmexit_control; in setup_vmcs_config()
2869 vmcs_conf->vmentry_ctrl = _vmentry_control; in setup_vmcs_config()
2870 vmcs_conf->misc = misc_msr; in setup_vmcs_config()
[all …]