[PATCH]KVM: VMX: Inform user about INTEL_TXT dependency

2010-11-16 Thread Shane Wang
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

[PATCH][RESEND] intel_txt: enable SMX flag for VMXON in KVM

2010-05-04 Thread Shane Wang
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

[PATCH] intel_txt: enable VMXON check with SMX in KVM

2010-04-30 Thread Shane Wang
-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