aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-09-05 09:57:00 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2016-09-07 13:34:30 -0400
commit16cb025565fcc9c687d07bf239e57964957b50e8 (patch)
treedd60c1c29f5f8ba6cd8a5f29ff08fc0485bc0262
parent1a6982353db90939fc12bbd11c29fbe3c19a2fd0 (diff)
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: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--arch/x86/kvm/vmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 2029c0064289..2d584d93d3a8 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -3457,7 +3457,7 @@ static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf)
3457 return -EIO; 3457 return -EIO;
3458 3458
3459 vmcs_conf->size = vmx_msr_high & 0x1fff; 3459 vmcs_conf->size = vmx_msr_high & 0x1fff;
3460 vmcs_conf->order = get_order(vmcs_config.size); 3460 vmcs_conf->order = get_order(vmcs_conf->size);
3461 vmcs_conf->revision_id = vmx_msr_low; 3461 vmcs_conf->revision_id = vmx_msr_low;
3462 3462
3463 vmcs_conf->pin_based_exec_ctrl = _pin_based_exec_control; 3463 vmcs_conf->pin_based_exec_ctrl = _pin_based_exec_control;