]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: VM_ENTRY/EXIT_LOAD_IA32_EFER overrides EFER.LMA settings
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 14 Apr 2013 10:44:54 +0000 (12:44 +0200)
committerGleb Natapov <gleb@redhat.com>
Mon, 22 Apr 2013 09:53:52 +0000 (12:53 +0300)
commit081a3d6e0ce73600524da015e6fc07f5c3d83e76
treeca7605976c80dad0bf349693b8a5091227020e82
parentd047c9f53a2594c30993e04a2baaef178ffff336
KVM: nVMX: VM_ENTRY/EXIT_LOAD_IA32_EFER overrides EFER.LMA settings

If we load the complete EFER MSR on entry or exit, EFER.LMA (and LME)
loading is skipped. Their consistency is already checked now before
starting the transition.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/vmx.c