qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] Expose thread id through info cpus
@ 2008-03-05 20:01 Glauber Costa
  2008-03-05 20:01 ` [Qemu-devel] [PATCH] use a thread id variable Glauber Costa
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Glauber Costa @ 2008-03-05 20:01 UTC (permalink / raw)
  To: kvm-devel; +Cc: glommer, qemu-devel, chrisw

Hey,

This patch series expose the actual thread id of each cpu via the qemu
monitor. It is done through "info cpus", which I though would be the
most natural command to do it. (If you disagree, please voice it)

Goal is to allow tools like libvirt to easily grab it and feed taskset
for thinks like cpu pinning, etc

AFAIK, qemu runs all cpus in the same process, so for plain qemu, all cpus
will show the same id. But KVM can benefit from it, by overriding this data
in its ap initialization

Of the whole series, only the last patch is kvm-specific.

Many thanks to Anthony, who pointed me that this approach was possible.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-03-17 17:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-05 20:01 [Qemu-devel] [PATCH 0/3] Expose thread id through info cpus Glauber Costa
2008-03-05 20:01 ` [Qemu-devel] [PATCH] use a thread id variable Glauber Costa
2008-03-05 20:01   ` [Qemu-devel] [PATCH] augment info cpus Glauber Costa
2008-03-05 20:01     ` [Qemu-devel] [PATCH] KVM: use actual thread id for vcpus Glauber Costa
2008-03-09  9:26   ` [Qemu-devel] [PATCH] use a thread id variable Gilad Ben-Yossef
2008-03-09 11:58     ` Jamie Lokier
2008-03-09 14:52       ` Gilad Ben-Yossef
2008-03-09 16:12         ` M. Warner Losh
2008-03-17 17:55         ` Glauber Costa
2008-03-09 16:09       ` M. Warner Losh
2008-03-09 20:01         ` Jamie Lokier
2008-03-09 16:23     ` [kvm-devel] " Daniel P. Berrange
2008-03-05 20:07 ` [Qemu-devel] Re: [PATCH 0/3] Expose thread id through info cpus Glauber Costa
2008-03-06  6:55 ` Avi Kivity

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).