From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9ZHQ-000061-8l for qemu-devel@nongnu.org; Mon, 08 Dec 2008 01:07:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9ZHO-00005A-M9 for qemu-devel@nongnu.org; Mon, 08 Dec 2008 01:07:39 -0500 Received: from [199.232.76.173] (port=47837 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9ZHO-000054-CM for qemu-devel@nongnu.org; Mon, 08 Dec 2008 01:07:38 -0500 Received: from ti-out-0910.google.com ([209.85.142.189]:44242) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L9ZHN-0006f0-Sd for qemu-devel@nongnu.org; Mon, 08 Dec 2008 01:07:38 -0500 Received: by ti-out-0910.google.com with SMTP id y6so813575tia.18 for ; Sun, 07 Dec 2008 22:07:35 -0800 (PST) Message-ID: Date: Mon, 8 Dec 2008 14:07:35 +0800 From: "wang Tiger" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] about the smp safe of Qemu Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org we can see that qemu emulates two or more virtual cpus just on one physical cpu as form of "for" loop. Cat it be changed to be smp safe? I mean can we use more than one physical cpu to emulate the virtual cpus? Like that one virtual cpu is a pthread, and the threads are bonded on the different cpus? So that we can translate the code concurrently. Is it possible? And what's the main challenge of this work , if i want to do~