ia64/xen-unstable

changeset 7340:c05d5e85ded2

Hide the VMX cpu feature from unmodified Guests.

Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Oct 12 09:27:28 2005 +0100 (2005-10-12)
parents 74d56b7ff46c
children 456b91c81427
files xen/arch/x86/vmx.c
line diff
     1.1 --- a/xen/arch/x86/vmx.c	Tue Oct 11 16:57:44 2005 -0600
     1.2 +++ b/xen/arch/x86/vmx.c	Wed Oct 12 09:27:28 2005 +0100
     1.3 @@ -471,6 +471,7 @@ static void vmx_vmexit_do_cpuid(unsigned
     1.4  #endif
     1.5  
     1.6          /* Unsupportable for virtualised CPUs. */
     1.7 +        clear_bit(X86_FEATURE_VMXE & 31, &ecx);
     1.8          clear_bit(X86_FEATURE_MWAIT & 31, &ecx);
     1.9      }
    1.10