[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 0/2] dataplane: add query-iothreads QMP comma
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v3 0/2] dataplane: add query-iothreads QMP command |
Date: |
Thu, 27 Feb 2014 06:51:23 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 02/27/2014 03:48 AM, Stefan Hajnoczi wrote:
> 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".
Series: Reviewed-by: Eric Blake <address@hidden>
>
> 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(+)
>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature