diff options
author | Nadav Amit <namit@cs.technion.ac.il> | 2015-04-12 21:47:15 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-04-14 18:09:50 +0200 |
commit | 9e9c3fe40bcd28e3f98f0ad8408435f4503f2781 (patch) | |
tree | 90aeef820e057dbf24566306b15b44ce6ec3833e /kernel/stop_machine.c | |
parent | b79013b2449c23f1f505bdf39c5a6c330338b244 (diff) |
KVM: x86: Fix MSR_IA32_BNDCFGS in msrs_to_save
kvm_init_msr_list is currently called before hardware_setup. As a result,
vmx_mpx_supported always returns false when kvm_init_msr_list checks whether to
save MSR_IA32_BNDCFGS.
Move kvm_init_msr_list after vmx_hardware_setup is called to fix this issue.
Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Message-Id: <1428864435-4732-1-git-send-email-namit@cs.technion.ac.il>
Cc: stable@vger.kernel.org # 3.15+
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions