]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: fix detection of BIOS disabling VMX
authorJoseph Cihula <joseph.cihula@intel.com>
Tue, 8 Feb 2011 19:45:56 +0000 (11:45 -0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:30 +0000 (13:08 -0300)
commit6b6ef9fa16637ba32c95dd1c5915b268a9388330
tree5b1d2b1c40fb935c86d59be3ec8a598effd077f9
parentdd94738678e88d5cd22178e9beaf02a150da4be8
KVM: VMX: fix detection of BIOS disabling VMX

This patch fixes the logic used to detect whether BIOS has disabled VMX, for
the case where VMX is enabled only under SMX, but tboot is not active.

Signed-off-by: Joseph Cihula <joseph.cihula@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c