qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: 解壁伟 <xiebiwei@ict.ac.cn>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] About the Thread model in Qemu【 Is it one thread per vcpu?】
Date: Tue, 12 Mar 2013 17:34:24 +0800	[thread overview]
Message-ID: <513EF6A0.4000601@ict.ac.cn> (raw)

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

             reply	other threads:[~2013-03-12 10:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12  9:34 解壁伟 [this message]
2013-03-12 22:26 ` [Qemu-devel] About the Thread model in Qemu【 Is it one thread per vcpu?】 Laszlo Ersek
2013-03-13  8:59   ` 解壁伟
2013-03-13  8:45 ` Stefan Hajnoczi
2013-03-13  9:32   ` 解壁伟
2013-03-13  9:51     ` Peter Maydell
2013-03-13  9:56       ` Laurent Desnogues
2013-03-13 12:21         ` Paolo Bonzini
2013-04-15 14:43 ` [Qemu-devel] Round robin of multi-vcpu in qemu 解壁伟
2013-04-23  1:25   ` 陳韋任 (Wei-Ren Chen)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=513EF6A0.4000601@ict.ac.cn \
    --to=xiebiwei@ict.ac.cn \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).