KVM: nVMX: Fix up VM_ENTRY_IA32E_MODE control feature reporting
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 6 Aug 2013 08:39:56 +0000 (10:39 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 7 Aug 2013 13:57:47 +0000 (15:57 +0200)
commit574353496081bce251fdd82fbfb67ca9fd6e0fcf
treedc02dfadaccba3d7d06371590358c327da8e5596
parentca72d970ff9aaf6f7e321ead9d4775c5aa0cdb0b
KVM: nVMX: Fix up VM_ENTRY_IA32E_MODE control feature reporting

Do not report that we can enter the guest in 64-bit mode if the host is
32-bit only. This is not supported by KVM.

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