Home
last modified time | relevance | path

Searched refs:vmcs_conf (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
H A Devmcs.c300 __init void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf) in evmcs_sanitize_exec_ctrls() argument
302 vmcs_conf->pin_based_exec_ctrl &= ~EVMCS1_UNSUPPORTED_PINCTRL; in evmcs_sanitize_exec_ctrls()
303 vmcs_conf->cpu_based_2nd_exec_ctrl &= ~EVMCS1_UNSUPPORTED_2NDEXEC; in evmcs_sanitize_exec_ctrls()
305 vmcs_conf->vmexit_ctrl &= ~EVMCS1_UNSUPPORTED_VMEXIT_CTRL; in evmcs_sanitize_exec_ctrls()
306 vmcs_conf->vmentry_ctrl &= ~EVMCS1_UNSUPPORTED_VMENTRY_CTRL; in evmcs_sanitize_exec_ctrls()
H A Devmcs.h180 __init void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf);
H A Dvmx.c2470 static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf, in setup_vmcs_config() argument
2481 memset(vmcs_conf, 0, sizeof(*vmcs_conf)); in setup_vmcs_config()
2650 vmcs_conf->size = vmx_msr_high & 0x1fff; in setup_vmcs_config()
2651 vmcs_conf->order = get_order(vmcs_conf->size); in setup_vmcs_config()
2652 vmcs_conf->basic_cap = vmx_msr_high & ~0x1fff; in setup_vmcs_config()
2654 vmcs_conf->revision_id = vmx_msr_low; in setup_vmcs_config()
2656 vmcs_conf->pin_based_exec_ctrl = _pin_based_exec_control; in setup_vmcs_config()
2657 vmcs_conf in setup_vmcs_config()
7184 struct vmcs_config vmcs_conf; vmx_check_processor_compat() local
[all...]
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/
H A Dhyperv.c623 typeof(vmcs_conf->field) unsupported; \
625 unsupported = vmcs_conf->field & ~EVMCS1_SUPPORTED_ ## ctrl; \
629 vmcs_conf->field &= EVMCS1_SUPPORTED_ ## ctrl; \
634 void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf) in evmcs_sanitize_exec_ctrls() argument
H A Dnested.c6764 static void nested_vmx_setup_pinbased_ctls(struct vmcs_config *vmcs_conf, in nested_vmx_setup_pinbased_ctls() argument
6770 msrs->pinbased_ctls_high = vmcs_conf->pin_based_exec_ctrl; in nested_vmx_setup_pinbased_ctls()
6781 static void nested_vmx_setup_exit_ctls(struct vmcs_config *vmcs_conf, in nested_vmx_setup_exit_ctls() argument
6787 msrs->exit_ctls_high = vmcs_conf->vmexit_ctrl; in nested_vmx_setup_exit_ctls()
6804 static void nested_vmx_setup_entry_ctls(struct vmcs_config *vmcs_conf, in nested_vmx_setup_entry_ctls() argument
6810 msrs->entry_ctls_high = vmcs_conf->vmentry_ctrl; in nested_vmx_setup_entry_ctls()
6824 static void nested_vmx_setup_cpubased_ctls(struct vmcs_config *vmcs_conf, in nested_vmx_setup_cpubased_ctls() argument
6830 msrs->procbased_ctls_high = vmcs_conf->cpu_based_exec_ctrl; in nested_vmx_setup_cpubased_ctls()
6861 struct vmcs_config *vmcs_conf, in nested_vmx_setup_secondary_ctls()
6866 msrs->secondary_ctls_high = vmcs_conf in nested_vmx_setup_secondary_ctls()
6860 nested_vmx_setup_secondary_ctls(u32 ept_caps, struct vmcs_config *vmcs_conf, struct nested_vmx_msrs *msrs) nested_vmx_setup_secondary_ctls() argument
6943 nested_vmx_setup_misc_data(struct vmcs_config *vmcs_conf, struct nested_vmx_msrs *msrs) nested_vmx_setup_misc_data() argument
7003 nested_vmx_setup_ctls_msrs(struct vmcs_config *vmcs_conf, u32 ept_caps) nested_vmx_setup_ctls_msrs() argument
[all...]
H A Dhyperv.h164 void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf);
H A Dnested.h20 void nested_vmx_setup_ctls_msrs(struct vmcs_config *vmcs_conf, u32 ept_caps);
H A Dvmx.c2577 static int setup_vmcs_config(struct vmcs_config *vmcs_conf, in setup_vmcs_config() argument
2606 memset(vmcs_conf, 0, sizeof(*vmcs_conf)); in setup_vmcs_config()
2723 vmcs_conf->size = vmx_msr_high & 0x1fff; in setup_vmcs_config()
2724 vmcs_conf->basic_cap = vmx_msr_high & ~0x1fff; in setup_vmcs_config()
2726 vmcs_conf->revision_id = vmx_msr_low; in setup_vmcs_config()
2728 vmcs_conf->pin_based_exec_ctrl = _pin_based_exec_control; in setup_vmcs_config()
2729 vmcs_conf->cpu_based_exec_ctrl = _cpu_based_exec_control; in setup_vmcs_config()
2730 vmcs_conf->cpu_based_2nd_exec_ctrl = _cpu_based_2nd_exec_control; in setup_vmcs_config()
2731 vmcs_conf in setup_vmcs_config()
2776 struct vmcs_config vmcs_conf; vmx_check_processor_compat() local
[all...]

Completed in 22 milliseconds