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

[Xen-changelog] [xen-unstable] [HVM] Mask cmpxchg8b capability in cpuid for non-pae guests



# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1166616430 0
# Node ID 04c5f7b71ff4175ae387b93845bb4c83ffb5efa9
# Parent  988d3a63d9befa9fd68b986f293b935f2ffc02e5
[HVM] Mask cmpxchg8b capability in cpuid for non-pae guests
This allows non-PAE NT4 kernels to boot
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/hvm.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -r 988d3a63d9be -r 04c5f7b71ff4 xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Wed Dec 20 12:04:38 2006 +0000
+++ b/xen/arch/x86/hvm/hvm.c    Wed Dec 20 12:07:10 2006 +0000
@@ -369,8 +369,10 @@ void hvm_cpuid(unsigned int input, unsig
 #if CONFIG_PAGING_LEVELS >= 3
             if ( !v->domain->arch.hvm_domain.params[HVM_PARAM_PAE_ENABLED] )
 #endif
+            {
                 clear_bit(X86_FEATURE_PAE & 31, edx);
-
+                clear_bit(X86_FEATURE_CX8, &edx);
+            }
             clear_bit(X86_FEATURE_PSE36 & 31, edx);
         }
         else if ( input == 0x80000001 )

_______________________________________________
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®.