From owner-freebsd-emulation@FreeBSD.ORG Tue May 6 20:45:12 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78E691065671 for ; Tue, 6 May 2008 20:45:12 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (mail.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id 592DA8FC1A for ; Tue, 6 May 2008 20:45:12 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id E1A945B3B; Tue, 6 May 2008 13:45:11 -0700 (PDT) To: Teufel In-reply-to: Your message of "Tue, 06 May 2008 22:02:28 +0200." <4820B954.7040603@kuehlbox.de> Date: Tue, 06 May 2008 13:45:11 -0700 From: Bakul Shah Message-Id: <20080506204511.E1A945B3B@mail.bitblocks.com> Cc: freebsd-emulation@FreeBSD.org Subject: Re: seems I finally found what upset kqemu on amd64 SMP... shared gdt! (please test patch :) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2008 20:45:12 -0000 On Tue, 06 May 2008 22:02:28 +0200 Teufel wrote: > Bakul Shah wrote: > >> at needs to be done to fix that? > >> > > > > Comment it out in amd64/amd64/trap.c! > > > getting rid of the message, yes.. but without further issues? The message is there "because you are not supposed to do it" See for instance http://docs.freebsd.org/cgi/getmsg.cgi?fetch=100953+0+archive/2007/freebsd-emulation/20070415.freebsd-emulation This seems to have not caused any problem in practice. And any way taking out the message doesn't change the essential behavior (the invariant is still broken) but it can speed up your emulation considerably.