From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxwDV-00007h-SD for qemu-devel@nongnu.org; Mon, 29 Aug 2011 03:25:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QxwDU-0002br-Gm for qemu-devel@nongnu.org; Mon, 29 Aug 2011 03:25:09 -0400 Received: from eu1sys200aog111.obsmtp.com ([207.126.144.131]:48710) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxwDU-0002YI-5v for qemu-devel@nongnu.org; Mon, 29 Aug 2011 03:25:08 -0400 Date: Mon, 29 Aug 2011 09:24:22 +0200 From: Message-ID: <20110829072421.GA909@gnx2503> References: <20110826141554.GE32250@gnx2503> <20110826142807.GF32250@gnx2503> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [Qemu-devel] Regression in QEMU user-mode (Was: "tcg: Reload local variables after return from longjmp") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Peter Maydell , Riku Voipio , "qemu-devel@nongnu.org" , Paolo Bonzini , Jan Kiszka On Fri, Aug 26, 2011 at 07:37:51PM +0200, Blue Swirl wrote: > On Fri, Aug 26, 2011 at 2:28 PM, wrote: > > On Fri, Aug 26, 2011 at 04:19:26PM +0200, Peter Maydell wrote: > >> Yes; we've discussed this before in this thread: > >> http://lists.nongnu.org/archive/html/qemu-devel/2011-08/msg01623.html > >> > >> That commit breaks multi-threaded usermode programs (well, even > >> more than they usually are). I think we decided that the right > >> fix was to make cpu_single_env thread-local (but that needs a > >> slight change for windows, see one of the messages in the thread). > > > > Oops, I didn't read this thread correctly... > > Since you seem to have a nice test case close at hand, could you > please test the fix proposed by Paolo? I suppose you are talking about this one: http://lists.nongnu.org/archive/html/qemu-devel/2011-08/msg01655.html This patch can't fix the problem since it isn't related to the user mode. Regards, Cédric.