ia64/xen-unstable

changeset 13143:04c5f7b71ff4

[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@xensource.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Wed Dec 20 12:07:10 2006 +0000 (2006-12-20)
parents 988d3a63d9be
children ed815cbdc90e
files xen/arch/x86/hvm/hvm.c
line diff
     1.1 --- a/xen/arch/x86/hvm/hvm.c	Wed Dec 20 12:04:38 2006 +0000
     1.2 +++ b/xen/arch/x86/hvm/hvm.c	Wed Dec 20 12:07:10 2006 +0000
     1.3 @@ -369,8 +369,10 @@ void hvm_cpuid(unsigned int input, unsig
     1.4  #if CONFIG_PAGING_LEVELS >= 3
     1.5              if ( !v->domain->arch.hvm_domain.params[HVM_PARAM_PAE_ENABLED] )
     1.6  #endif
     1.7 +            {
     1.8                  clear_bit(X86_FEATURE_PAE & 31, edx);
     1.9 -
    1.10 +                clear_bit(X86_FEATURE_CX8, &edx);
    1.11 +            }
    1.12              clear_bit(X86_FEATURE_PSE36 & 31, edx);
    1.13          }
    1.14          else if ( input == 0x80000001 )