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>
This commit is contained in:
Joseph Cihula 2011-02-08 11:45:56 -08:00 • committed by Marcelo Tosatti
commit 23f3e99132