Jan Beulich
2007-May-14 15:05 UTC
[Xen-devel] [PATCH] x86: suppress SYSCALL feature for 32on64 guests
.. since Xen cannot handle it. Signed-off-by: Jan Beulich <jbeulich@novell.com> Index: 2007-04-27/xen/arch/x86/traps.c ==================================================================--- 2007-04-27.orig/xen/arch/x86/traps.c 2007-04-27 11:02:48.000000000 +0200 +++ 2007-04-27/xen/arch/x86/traps.c 2007-05-09 17:56:43.000000000 +0200 @@ -594,6 +594,8 @@ static int emulate_forced_invalid_op(str else if ( regs->eax == 0x80000001 ) { /* Modify Feature Information. */ + if ( is_pv_32on64_vcpu(current) ) + clear_bit(X86_FEATURE_SYSCALL % 32, &d); clear_bit(X86_FEATURE_RDTSCP % 32, &d); } else _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel