qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] dataplane: add query-iothreads QMP command
@ 2014-02-27 10:48 Stefan Hajnoczi
  2014-02-27 10:48 ` [Qemu-devel] [PATCH v3 1/2] iothread: stash thread ID away Stefan Hajnoczi
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2014-02-27 10:48 UTC (permalink / raw)
  To: qemu-devel
  Cc: Kevin Wolf, Shergill, Gurinder, Luiz Capitulino, Paolo Bonzini,
	Vinod, Chegu

v3:
 * Loop until predicate is true to handle pthread_cond spurious wakeups [eblake]
 * Fix additional instances of "thread_id" [eblake]

v2:
 * Use "thread-id" instead of "thread_id" in QAPI [eblake]
 * Avoid mutex unlock/destroy race between threads [pbonzini]

This series applies on top of "[PATCH v4 0/6] dataplane: switch to N:M
devices-per-thread model".

The new "query-iothreads" command allows QMP clients to fetch the thread IDs
for dataplane threads.  This will allow libvirt and friends to bind dataplane
threads.

The approach is similar to "query-cpus" which is also used for vcpu thread
binding (among other things).

Stefan Hajnoczi (2):
  iothread: stash thread ID away
  qmp: add query-iothreads command

 iothread.c       | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 qapi-schema.json | 29 ++++++++++++++++++++++++++++
 qmp-commands.hx  | 39 +++++++++++++++++++++++++++++++++++++
 3 files changed, 126 insertions(+)

-- 
1.8.5.3

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

end of thread, other threads:[~2014-03-11 18:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27 10:48 [Qemu-devel] [PATCH v3 0/2] dataplane: add query-iothreads QMP command Stefan Hajnoczi
2014-02-27 10:48 ` [Qemu-devel] [PATCH v3 1/2] iothread: stash thread ID away Stefan Hajnoczi
2014-02-27 10:48 ` [Qemu-devel] [PATCH v3 2/2] qmp: add query-iothreads command Stefan Hajnoczi
2014-02-27 13:51 ` [Qemu-devel] [PATCH v3 0/2] dataplane: add query-iothreads QMP command Eric Blake
2014-02-28 19:00 ` Luiz Capitulino
2014-03-03  9:22   ` Stefan Hajnoczi
2014-03-11 18:30 ` Stefan Hajnoczi

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