From: "Daniel P. Berrange" <berrange@redhat.com>
To: Steven <wangwangkang@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: smp option of qemu-kvm
Date: Thu, 5 Apr 2012 20:03:52 +0100 [thread overview]
Message-ID: <20120405190352.GD16805@redhat.com> (raw)
In-Reply-To: <CAMTrTqUgkBGkFpFUSQPUsOFKSO94MrGmptkr1cn1Pj4mJ+S-fw@mail.gmail.com>
On Thu, Apr 05, 2012 at 02:52:40PM -0400, Steven wrote:
> Hi, Daniel,
> Thanks for your quick response. However, the ps -eLf show 4 threads
> for the VM and I checked 4 threads have the same tgid.
> But the VM I created is with -smp 2 option. Could you explain this? Thanks.
As well as the vCPU threads, QEMU creates other threads as needed, typically
for I/O - indeed the count of threads may vary over time.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
next prev parent reply other threads:[~2012-04-05 19:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-05 18:28 smp option of qemu-kvm Steven
2012-04-05 18:40 ` Daniel P. Berrange
2012-04-05 18:52 ` Steven
2012-04-05 19:03 ` Daniel P. Berrange [this message]
2012-04-06 15:28 ` Stuart Yoder
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=20120405190352.GD16805@redhat.com \
--to=berrange@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=wangwangkang@gmail.com \
/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