KVM: VMX: Disable unrestricted guest when EPT disabled
commit046d87103addc117f0d397196e85189722d4d7de
authorSheng Yang <sheng@linux.intel.com>
Fri, 27 Nov 2009 08:46:26 +0000 (27 16:46 +0800)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:25 +0000 (3 09:32 +0200)
tree08896ae75f4842f1ae709f0683cec20d5a3e25cb
parenteb3c79e64a70fb8f7473e30fa07e89c1ecc2c9bb
KVM: VMX: Disable unrestricted guest when EPT disabled

Otherwise would cause VMEntry failure when using ept=0 on unrestricted guest
supported processors.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c