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

[Xen-changelog] [xen-unstable] Fix the boot of ia32pae Windows xp guest (up acpi)



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1210241914 -3600
# Node ID 3a1758f420d3bb705267fd00d61d2305cd4566e4
# Parent  5c3df1bded8249219dfae4f5a9820636f73aa944
Fix the boot of ia32pae Windows xp guest (up acpi)
  - X86_FEATURE_APIC should be in edx register.

Signed-off-by: Xu Dongxiao <dongxiao.xu@xxxxxxxxx>
---
 xen/arch/x86/hvm/hvm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 5c3df1bded82 -r 3a1758f420d3 xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Thu May 08 11:15:58 2008 +0100
+++ b/xen/arch/x86/hvm/hvm.c    Thu May 08 11:18:34 2008 +0100
@@ -1610,7 +1610,7 @@ void hvm_cpuid(unsigned int input, unsig
         *ebx &= 0x00FFFFFFu;
         *ebx |= (v->vcpu_id * 2) << 24;
         if ( vlapic_hw_disabled(vcpu_vlapic(v)) )
-            __clear_bit(X86_FEATURE_APIC & 31, ebx);
+            __clear_bit(X86_FEATURE_APIC & 31, edx);
     }
 }
 

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