Commit 16cb0255 authored by Paolo Bonzini's avatar Paolo Bonzini

KVM: VMX: not use vmcs_config in setup_vmcs_config

setup_vmcs_config takes a pointer to the vmcs_config global.  The
indirection is somewhat pointless, but just keep things consistent
for now.
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 1a698235
...@@ -3457,7 +3457,7 @@ static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf) ...@@ -3457,7 +3457,7 @@ static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf)
return -EIO; return -EIO;
vmcs_conf->size = vmx_msr_high & 0x1fff; vmcs_conf->size = vmx_msr_high & 0x1fff;
vmcs_conf->order = get_order(vmcs_config.size); vmcs_conf->order = get_order(vmcs_conf->size);
vmcs_conf->revision_id = vmx_msr_low; vmcs_conf->revision_id = vmx_msr_low;
vmcs_conf->pin_based_exec_ctrl = _pin_based_exec_control; vmcs_conf->pin_based_exec_ctrl = _pin_based_exec_control;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment