Kamble, Nitin A
2005-Oct-12 00:04 UTC
[Xen-devel] [PATCH] [VT] Hide VMX cpu feature from unmodified Guests
Keir, Ian, This small patch hides VMX from the unmodified (vmx) guests. Please apply. # HG changeset patch # User Nitin A Kamble <nitin.a.kamble@intel.com> # Node ID ff1112544420b960908884b84f99f6760a1a0b7e # Parent 00037ba13f0bb8efe4b2c3efe40200eac21c68dd Hide the VMX cpu feature from unmodified Guests. Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> diff -r 00037ba13f0bb8efe4b2c3efe40200eac21c68dd -r ff1112544420b960908884b84f99f6760a1a0b7e xen/arch/x86/vmx.c --- a/xen/arch/x86/vmx.c Tue Oct 4 17:23:58 2005 +++ b/xen/arch/x86/vmx.c Tue Oct 11 23:21:17 2005 @@ -472,6 +472,7 @@ #endif /* Unsupportable for virtualised CPUs. */ + clear_bit(X86_FEATURE_VMXE & 31, &ecx); clear_bit(X86_FEATURE_MWAIT & 31, &ecx); } Thanks & Regards, Nitin ------------------------------------------------------------------------ ----------- Open Source Technology Center, Intel Corp _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel