[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [HVM][SVM] Disable machine check bits in CPUID_1.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 2966233d180de05f98afacf1437003aa11fbc1c8
# Parent  571507a595cd63471df9a5ed89db91e7c897714f
[HVM][SVM] Disable machine check bits in CPUID_1.

Signed-off-by: Tom Woller <thomas.woller@xxxxxxx>
---
 xen/arch/x86/hvm/svm/svm.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 571507a595cd -r 2966233d180d xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c        Wed Jun 28 10:01:18 2006 +0100
+++ b/xen/arch/x86/hvm/svm/svm.c        Wed Jun 28 10:02:27 2006 +0100
@@ -996,6 +996,10 @@ static void svm_vmexit_do_cpuid(struct v
        clear_bit(X86_FEATURE_HT, &edx);  /* clear the hyperthread bit */
        ebx &= 0xFF00FFFF;  /* clear the logical processor count when HTT=0 */
        ebx |= 0x00010000;  /* set to 1 just for precaution */
+
+       /* Disable machine check architecture */
+       clear_bit(X86_FEATURE_MCA, &edx);
+       clear_bit(X86_FEATURE_MCE, &edx);
     }
     else if ( ( input > 0x00000005 ) && ( input < 0x80000000 ) )
     {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.