qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 2/2] qmp: add query-iothreads command


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v2 2/2] qmp: add query-iothreads command
Date: Tue, 25 Feb 2014 10:36:48 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 02/25/2014 10:19 AM, Stefan Hajnoczi wrote:
> The "query-iothreads" command returns a list of information about
> iothreads.  See the patch for API documentation.
> 
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
>  iothread.c       | 36 ++++++++++++++++++++++++++++++++++++
>  qapi-schema.json | 29 +++++++++++++++++++++++++++++
>  qmp-commands.hx  | 39 +++++++++++++++++++++++++++++++++++++++
>  3 files changed, 104 insertions(+)

> +
> +Return a json-array. Each iothread is represented by a json-object, which 
> contains:
> +
> +- "id": name of iothread (json-str)
> +- "thread_id": ID of the underlying host thread (json-int)

s/thread_id/thread-id/

> +
> +Example:
> +
> +-> { "execute": "query-iothreads" }
> +<- {
> +      "return":[
> +         {
> +            "id":"iothread0",
> +            "thread_id":3134
> +         },
> +         {
> +            "id":"iothread1",
> +            "thread_id":3135

twice more.

With that fixed,
Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]