ia64/xen-unstable

changeset 17610:3a1758f420d3

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@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu May 08 11:18:34 2008 +0100 (2008-05-08)
parents 5c3df1bded82
children 36694cae3927
files xen/arch/x86/hvm/hvm.c
line diff
     1.1 --- a/xen/arch/x86/hvm/hvm.c	Thu May 08 11:15:58 2008 +0100
     1.2 +++ b/xen/arch/x86/hvm/hvm.c	Thu May 08 11:18:34 2008 +0100
     1.3 @@ -1610,7 +1610,7 @@ void hvm_cpuid(unsigned int input, unsig
     1.4          *ebx &= 0x00FFFFFFu;
     1.5          *ebx |= (v->vcpu_id * 2) << 24;
     1.6          if ( vlapic_hw_disabled(vcpu_vlapic(v)) )
     1.7 -            __clear_bit(X86_FEATURE_APIC & 31, ebx);
     1.8 +            __clear_bit(X86_FEATURE_APIC & 31, edx);
     1.9      }
    1.10  }
    1.11