From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnXlu-0000Su-Uq for qemu-devel@nongnu.org; Wed, 29 Apr 2015 15:35:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnXlp-0003Rf-Vk for qemu-devel@nongnu.org; Wed, 29 Apr 2015 15:35:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnXlp-0003Ra-Kp for qemu-devel@nongnu.org; Wed, 29 Apr 2015 15:35:45 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t3TJZinH013510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 29 Apr 2015 15:35:44 -0400 Message-ID: <55413290.80608@redhat.com> Date: Wed, 29 Apr 2015 13:35:44 -0600 From: Eric Blake MIME-Version: 1.0 References: <1430334844-7015-1-git-send-email-jsnow@redhat.com> <1430334844-7015-5-git-send-email-jsnow@redhat.com> In-Reply-To: <1430334844-7015-5-git-send-email-jsnow@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5RlesqKji9Noqtmji32pdMS1iVVhSTE8O" Subject: Re: [Qemu-devel] [PATCH v4 4/4] scripts: qmp-shell: Add verbose flag List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow , qemu-devel@nongnu.org Cc: kchamart@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5RlesqKji9Noqtmji32pdMS1iVVhSTE8O Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/29/2015 01:14 PM, John Snow wrote: > Add a verbose flag that shows the QMP command that was > constructed, to allow for later copy/pasting, reference, > debugging, etc. >=20 > The QMP is converted from a Python literal to JSON first, > to ensure that it is viable input to the actual QMP parser. >=20 > As a side-effect, this JSON output will helpfully show all > the necessary conversions that were performed on the input, > illustrating that "True" was transformed back into "true", > literal values are now escaped with "" instead of '', and so on. >=20 > Signed-off-by: John Snow > --- > scripts/qmp/qmp-shell | 24 ++++++++++++++++++------ > 1 file changed, 18 insertions(+), 6 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --5RlesqKji9Noqtmji32pdMS1iVVhSTE8O Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVQTKQAAoJEKeha0olJ0Nq7b4H+wVpWKpDK6ZFz/nU2FKY0seq mo/Hfl5HNzcv1SBIUg5N/isDt+aKG3N7BHFobGWHQkJVVaMHLlEx4kak0ajhkJNM pj9ooPSgV8GuzxBit6uZQdCopTkK8Xdqaw4Wn9MosE48xcMeA3EcFC9iSrAkviOs aWWugWsaWv/344XjI9JIpT/zdOGRg8xutmJN7Y4RBbRazEA5xZEYc5VEFpxjL9Bd MtoOGU/d7nE84Y3ePvVTi7Y23nBZm2xcM7gzAar3NXqrp+Wpkm64oNAWIk/t4hKu vp1myhZtfyKMXbG35bWyTl7Pct/pLDT7xeXtDdfsWPv2HG46jV93sT3ImHPA8oE= =R3bm -----END PGP SIGNATURE----- --5RlesqKji9Noqtmji32pdMS1iVVhSTE8O--