From: "Jan Beulich" Subject: [PATCH] x86: suppress SYSCALL feature for 32on64 guests Date: Mon, 14 May 2007 17:05:17 +0200 Message-ID: <464896CD.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org .. since Xen cannot handle it. Signed-off-by: Jan Beulich Index: 2007-04-27/xen/arch/x86/traps.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 2007-04-27.orig/xen/arch/x86/traps.c 2007-04-27 11:02:48.0000000= 00 +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 =3D=3D 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