]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: nVMX: Disable unrestricted mode if ept=0
authorBandan Das <bsd@redhat.com>
Sat, 6 Dec 2014 15:02:16 +0000 (20:32 +0530)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Dec 2014 11:26:15 +0000 (12:26 +0100)
commit78051e3b7e35722ad3f31dd611f1b34770bddab8
tree5d02cb49c7b6479dbda8a06d19f655f9bd326555
parent64a38292ed5f1e9d1bbc15b591cc3b57ce89473f
KVM: nVMX: Disable unrestricted mode if ept=0

If L0 has disabled EPT, don't advertise unrestricted
mode at all since it depends on EPT to run real mode code.

Fixes: 92fbc7b195b824e201d9f06f2b93105f72384d65
Cc: stable@vger.kernel.org
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c