Home
last modified time | relevance | path

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

/openbmc/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 Dvmx_onhyperv.h112 void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf);
H A Dnested.c6817 static void nested_vmx_setup_pinbased_ctls(struct vmcs_config *vmcs_conf, in nested_vmx_setup_pinbased_ctls() argument
6823 msrs->pinbased_ctls_high = vmcs_conf->pin_based_exec_ctrl; in nested_vmx_setup_pinbased_ctls()
6834 static void nested_vmx_setup_exit_ctls(struct vmcs_config *vmcs_conf, in nested_vmx_setup_exit_ctls() argument
6840 msrs->exit_ctls_high = vmcs_conf->vmexit_ctrl; in nested_vmx_setup_exit_ctls()
6857 static void nested_vmx_setup_entry_ctls(struct vmcs_config *vmcs_conf, in nested_vmx_setup_entry_ctls() argument
6863 msrs->entry_ctls_high = vmcs_conf->vmentry_ctrl; in nested_vmx_setup_entry_ctls()
6877 static void nested_vmx_setup_cpubased_ctls(struct vmcs_config *vmcs_conf, in nested_vmx_setup_cpubased_ctls() argument
6883 msrs->procbased_ctls_high = vmcs_conf->cpu_based_exec_ctrl; in nested_vmx_setup_cpubased_ctls()
6914 struct vmcs_config *vmcs_conf, in nested_vmx_setup_secondary_ctls() argument
6919 msrs->secondary_ctls_high = vmcs_conf->cpu_based_2nd_exec_ctrl; in nested_vmx_setup_secondary_ctls()
[all …]
H A Dvmx.c2581 static int setup_vmcs_config(struct vmcs_config *vmcs_conf, in setup_vmcs_config() argument
2610 memset(vmcs_conf, 0, sizeof(*vmcs_conf)); in setup_vmcs_config()
2727 vmcs_conf->size = vmx_msr_high & 0x1fff; in setup_vmcs_config()
2728 vmcs_conf->basic_cap = vmx_msr_high & ~0x1fff; in setup_vmcs_config()
2730 vmcs_conf->revision_id = vmx_msr_low; in setup_vmcs_config()
2732 vmcs_conf->pin_based_exec_ctrl = _pin_based_exec_control; in setup_vmcs_config()
2733 vmcs_conf->cpu_based_exec_ctrl = _cpu_based_exec_control; in setup_vmcs_config()
2734 vmcs_conf->cpu_based_2nd_exec_ctrl = _cpu_based_2nd_exec_control; in setup_vmcs_config()
2735 vmcs_conf->cpu_based_3rd_exec_ctrl = _cpu_based_3rd_exec_control; in setup_vmcs_config()
2736 vmcs_conf->vmexit_ctrl = _vmexit_control; in setup_vmcs_config()
[all …]
H A Dnested.h20 void nested_vmx_setup_ctls_msrs(struct vmcs_config *vmcs_conf, u32 ept_caps);