ia64/xen-unstable

changeset 15096:75b4c7cb007d

x86: suppress SYSCALL feature for 32on64 guests
since Xen cannot handle it.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author kfraser@localhost.localdomain
date Tue May 15 09:54:27 2007 +0100 (2007-05-15)
parents a605044ecb33
children 3581a77791e3
files xen/arch/x86/traps.c
line diff
     1.1 --- a/xen/arch/x86/traps.c	Tue May 15 09:50:36 2007 +0100
     1.2 +++ b/xen/arch/x86/traps.c	Tue May 15 09:54:27 2007 +0100
     1.3 @@ -597,6 +597,8 @@ static int emulate_forced_invalid_op(str
     1.4      else if ( regs->eax == 0x80000001 )
     1.5      {
     1.6          /* Modify Feature Information. */
     1.7 +        if ( is_pv_32bit_vcpu(current) )
     1.8 +            clear_bit(X86_FEATURE_SYSCALL % 32, &d);
     1.9          clear_bit(X86_FEATURE_RDTSCP % 32, &d);
    1.10      }
    1.11      else