From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFMA0-0002YO-VT for qemu-devel@nongnu.org; Tue, 12 Mar 2013 06:10:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFM9v-0006iQ-6C for qemu-devel@nongnu.org; Tue, 12 Mar 2013 06:10:20 -0400 Received: from smtp15.cstnet.cn ([2001:cc0:2fff:7::15]:36972 helo=cstnet.cn) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFM9u-0006hn-Fy for qemu-devel@nongnu.org; Tue, 12 Mar 2013 06:10:15 -0400 Message-ID: <513EF6A0.4000601@ict.ac.cn> Date: Tue, 12 Mar 2013 17:34:24 +0800 From: =?GB2312?B?veKx2s6w?= MIME-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] =?gb2312?b?QWJvdXQgdGhlIFRocmVhZCBtb2RlbCBpbiBRZW11?= =?gb2312?b?ob4gSXMgaXQgb25lIHRocmVhZCBwZXIgdmNwdT+hvw==?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi there: I've read this an article discribe the thread model in Qemu. http://blog.vmsplice.net/2011/03/qemu-internals-overall-architecture-and.html Is there really one thread per vcpu in qemu? When I run the qemu using "-smp 16", I can see only two threads using "ps -xH". So I want to know that if qemu excuting the vcpu in one thread per vcpu way? or, qemu simply excuting all the vcpus in one thread? How can I trace the generation of the vcpu thread? I'll be appreciate for your help~ puck 2013-3-12