]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/vmx.c
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)
commitcae501397a25dc1e88375925c5e93a264d4a55ba
tree9baa938d4cbd923f8e5b230002068ec5d5a18ede
parent542060ea79c861e100411a5a44df747b56a693df
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