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 <[email protected]> > --- > 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 <[email protected]>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
