From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WILw9-0008E4-RG for qemu-devel@nongnu.org; Tue, 25 Feb 2014 12:37:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WILw3-0001CI-J1 for qemu-devel@nongnu.org; Tue, 25 Feb 2014 12:36:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:23001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WILw3-0001CB-9m for qemu-devel@nongnu.org; Tue, 25 Feb 2014 12:36:51 -0500 Message-ID: <530CD4B0.6090607@redhat.com> Date: Tue, 25 Feb 2014 10:36:48 -0700 From: Eric Blake MIME-Version: 1.0 References: <1393348774-14663-1-git-send-email-stefanha@redhat.com> <1393348774-14663-3-git-send-email-stefanha@redhat.com> In-Reply-To: <1393348774-14663-3-git-send-email-stefanha@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PsxV5T667VLq0pXEmx6Wp1hva36wA54T4" Subject: Re: [Qemu-devel] [PATCH v2 2/2] qmp: add query-iothreads command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , qemu-devel@nongnu.org Cc: Kevin Wolf , Paolo Bonzini , "Shergill, Gurinder" , "Vinod, Chegu" , Luiz Capitulino This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PsxV5T667VLq0pXEmx6Wp1hva36wA54T4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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. >=20 > Signed-off-by: Stefan Hajnoczi > --- > 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, wh= ich 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 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --PsxV5T667VLq0pXEmx6Wp1hva36wA54T4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTDNSwAAoJEKeha0olJ0NqjroIAIGFbt3cTJl25DXFW2kfmcYl 8ttauv0K3FRCQsfS8wBX9sbmzPaa2aE5oicy4Gb114Tmn1vdoVvIf69pSqvlZpBP 8o2fJHvRj1nPsPzjVrNIj1jEBsL3vlRK6j5w+7Hh7XM5v6sJW0f5tkesIB24bx/H ZS4n28VSHlPBGFds9pueHhrFBZ9R3yX4XQV2LUImjI1+hbGgxAZw2i7GBIgQN9Dv /sVv8hrcLhL5lqBD/OVHyDYvUHLVrwKlGiH4fclG525YXf5PilBcb8YsmBrRie+2 d6J1FyRNqXP/HnG7Q5oMYWLwP2syC1ZGHv//bM6vNo+9aQ7c8pLbOvknVCvnl5o= =UYOn -----END PGP SIGNATURE----- --PsxV5T667VLq0pXEmx6Wp1hva36wA54T4--