Skip to content
Commit 920c8377 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: vmx: fix MPX detection

kvm_x86_ops is still NULL at this point.  Since kvm_init_msr_list
cannot fail, it is safe to initialize it before the call.

Fixes: 93c4adc7


Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Tested-by: default avatarJet Chen <jet.chen@intel.com>
Cc: kvm@vger.kernel.org
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent f7b9ddb8
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