From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynf8e-0007HF-Vg for qemu-devel@nongnu.org; Wed, 29 Apr 2015 23:27:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ynf8b-0000wx-Q7 for qemu-devel@nongnu.org; Wed, 29 Apr 2015 23:27:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynf8b-0000wm-Kp for qemu-devel@nongnu.org; Wed, 29 Apr 2015 23:27:45 -0400 Message-ID: <5541A130.1060401@redhat.com> Date: Wed, 29 Apr 2015 21:27:44 -0600 From: Eric Blake MIME-Version: 1.0 References: <1428003106-20754-1-git-send-email-eblake@redhat.com> In-Reply-To: <1428003106-20754-1-git-send-email-eblake@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NnMI4D7Xl0mEtkHEQueDenMxstJQXvHFS" Subject: Re: [Qemu-devel] [PATCH] qapi: Accept 'null' in QMP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, akong@redhat.com, berto@igalia.com, mdroth@linux.vnet.ibm.com, armbru@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NnMI4D7Xl0mEtkHEQueDenMxstJQXvHFS Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/02/2015 01:31 PM, Eric Blake wrote: > We document that in QMP, the client may send any json-value > for the optional "id" key, and then return that same value > on reply (both success and failures, insofar as the failure > happened after parsing the id). [Note that the output may > not be identical to the input, as whitespace may change and > since we may reorder keys within a json-object, but that this > still constitutes the same json-value]. However, we were not > handling the JSON literal null, which counts as a json-value > per RFC 7159. v2 under a different subject: https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg04267.html --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --NnMI4D7Xl0mEtkHEQueDenMxstJQXvHFS 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/ iQEcBAEBCAAGBQJVQaEwAAoJEKeha0olJ0NqMOQIALB7kongOURSdSQljJeggzwu miAohj/ADwKvF3+ciAlsQLfCsxcMX5Z2jW23fVq4pBWchV7KR2cIOgJT2N9asUPX EqNQp3sakLub9IlO87sEbGBg18ktJmGOezYzplUttl8gbuCCtN0oAIg4oInEuhOt KS+APGw9q2nfJlaflcpSllaBiFEfEdZz0NiZxhk97AHIuUWJgRy0l8G66MEfls9c xlwIITXDHi0wfTfn4di6P0cl92GTpz6gdGDfXFOIzr5PzO34eeP8VwtVbLzVDWq8 Fo35qc5DIwoJmj9ePwhxmrQAGHoxGWY4RQoTcOFKvuUlLP3UqCC+Dm0MAPc0mmk= =T4dh -----END PGP SIGNATURE----- --NnMI4D7Xl0mEtkHEQueDenMxstJQXvHFS--