direct-io.hg

changeset 10510:2966233d180d

[HVM][SVM] Disable machine check bits in CPUID_1.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Jun 28 10:02:27 2006 +0100 (2006-06-28)
parents 571507a595cd
children 3c09a6b27b14
files xen/arch/x86/hvm/svm/svm.c
line diff
     1.1 --- a/xen/arch/x86/hvm/svm/svm.c	Wed Jun 28 10:01:18 2006 +0100
     1.2 +++ b/xen/arch/x86/hvm/svm/svm.c	Wed Jun 28 10:02:27 2006 +0100
     1.3 @@ -996,6 +996,10 @@ static void svm_vmexit_do_cpuid(struct v
     1.4  	clear_bit(X86_FEATURE_HT, &edx);  /* clear the hyperthread bit */
     1.5  	ebx &= 0xFF00FFFF;  /* clear the logical processor count when HTT=0 */
     1.6  	ebx |= 0x00010000;  /* set to 1 just for precaution */
     1.7 +
     1.8 +	/* Disable machine check architecture */
     1.9 +	clear_bit(X86_FEATURE_MCA, &edx);
    1.10 +	clear_bit(X86_FEATURE_MCE, &edx);
    1.11      }
    1.12      else if ( ( input > 0x00000005 ) && ( input < 0x80000000 ) )
    1.13      {