Received: from eggs.gnu.org ([140.186.70.92]:33263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuFJI-0005ob-TP for qemu-devel@nongnu.org; Thu, 18 Aug 2011 22:59:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuFJG-0002l7-Tl for qemu-devel@nongnu.org; Thu, 18 Aug 2011 22:59:52 -0400 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:52604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuFJG-0002kv-7T for qemu-devel@nongnu.org; Thu, 18 Aug 2011 22:59:50 -0400 Date: Fri, 19 Aug 2011 10:59:43 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7?= Message-ID: <20110819025943.GA53608@cs.nctu.edu.tw> References: <20110818023558.GA66298@cs.nctu.edu.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Multi-threaded user program support? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org, =?utf-8?B?6Zmz6Z+L5Lu7?= > More generally and not x86-specific, there are problems with > the multithreaded user-mode support which I suspect exist because > nobody has ever sat down and worked out a coherent design for it, > including what might need to be thread-local and what locking > is required. So the result is that it mostly works but if you You mean some QEMU data structures need to be thread-local or lock protected in order to emulate guest multi-threaded program correctly?=20 Regards, chenwj --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667