KVM: nVMX: Enable unrestricted guest mode support
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 8 Aug 2013 14:26:33 +0000 (16:26 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 24 Sep 2013 17:12:15 +0000 (19:12 +0200)
commit92fbc7b195b824e201d9f06f2b93105f72384d65
treee5f9b87ece9ed103076795fb42fe4b3587a225de
parent10ba54a58949e222dcb9cd9fb64cd3e7f53fc6b1
KVM: nVMX: Enable unrestricted guest mode support

Now that we provide EPT support, there is no reason to torture our
guests by hiding the relieving unrestricted guest mode feature. We just
need to relax CR0 checks for always-on bits as PE and PG can now be
switched off.

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