Skip to content

Commit

Permalink
KVM: VMX: not use vmcs_config in setup_vmcs_config
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paolo Bonzini committed Sep 7, 2016
1 parent 1a69823 commit 16cb025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -3457,7 +3457,7 @@ static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf)
return -EIO;

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->pin_based_exec_ctrl = _pin_based_exec_control;
Expand Down

0 comments on commit 16cb025

Please sign in to comment.