Inform user to either disable TXT in the BIOS or do TXT launch with tboot
before enabling KVM since some BIOSes do not set
FEATURE_CONTROL_VMXON_ENABLED_OUTSIDE_SMX bit when TXT is enabled.
Signed-off-by: Shane Wang
---
arch/x86/kvm/vmx.c |5 -
1 file changed, 4 insertions(+), 1
causes a general-protection exception.
This patch is to check the correct in/outside-SMX flag when detecting if VMX is
disabled by BIOS, and to set in-SMX flag for VMXON after Intel TXT is launched
in KVM.
Signed-off-by: Shane Wang
---
arch/x86/include/asm/msr-index.h |5 ++--
arch/x86/kernel
-protection exception.
This patch is to enable this kind of check with SMX for VMXON in KVM.
Signed-off-by: Shane Wang
---
arch/x86/include/asm/msr-index.h |5 ++--
arch/x86/kernel/tboot.c |1
arch/x86/kvm/vmx.c | 32 +++--
include/linux