]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Clean up handling of VMX-related MSRs
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 4 Jan 2014 17:47:22 +0000 (18:47 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 17 Jan 2014 09:22:16 +0000 (10:22 +0100)
commit44396e79f23154f85dec25030cfbf0b42691419d
tree9baa938d4cbd923f8e5b230002068ec5d5a18ede
parenta51f76e29d2eb307986f4119c884a3543123f1cc
KVM: nVMX: Clean up handling of VMX-related MSRs

This simplifies the code and also stops issuing warning about writing to
unhandled MSRs when VMX is disabled or the Feature Control MSR is
locked - we do handle them all according to the spec.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/uapi/asm/msr-index.h
arch/x86/kvm/vmx.c