From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtlTG-00035w-79 for qemu-devel@nongnu.org; Thu, 19 Dec 2013 16:49:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtlTB-0000XO-Aq for qemu-devel@nongnu.org; Thu, 19 Dec 2013 16:49:30 -0500 Received: from mx1.redhat.com ([209.132.183.28]:64988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtlTB-0000XJ-1Y for qemu-devel@nongnu.org; Thu, 19 Dec 2013 16:49:25 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rBJLnO7h002537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 19 Dec 2013 16:49:24 -0500 Message-ID: <52B369E2.1040205@redhat.com> Date: Thu, 19 Dec 2013 14:49:22 -0700 From: Eric Blake MIME-Version: 1.0 References: <1387482443-10633-1-git-send-email-mreitz@redhat.com> <1387482443-10633-5-git-send-email-mreitz@redhat.com> In-Reply-To: <1387482443-10633-5-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aLXqDtImFobGuqtxeUmc89nhmOUasrRvT" Subject: Re: [Qemu-devel] [PATCH v6 04/22] qapi: extend qdict_flatten() for QLists List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-devel@nongnu.org Cc: Kevin Wolf , Fam Zheng , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aLXqDtImFobGuqtxeUmc89nhmOUasrRvT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/19/2013 12:47 PM, Max Reitz wrote: > Reversing qdict_array_split(), qdict_flatten() should flatten QLists as= > well by interpreting them as QDicts where every entry's key is its > index. >=20 > This allows bringing QDicts with QLists from QMP commands to the same > form as they would be given as command-line options, thereby allowing > them to be parsed the same way. >=20 > Signed-off-by: Max Reitz > --- > qobject/qdict.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++= ++------ > 1 file changed, 51 insertions(+), 6 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --aLXqDtImFobGuqtxeUmc89nhmOUasrRvT 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.4.15 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJSs2niAAoJEKeha0olJ0Nq6jsH/iXU/iI7KhyNxyqM/eL1Gw6A HnElaPvp/wYwtKw7yJ6pusw5KD2inbcBa2ZRP7Pf9A3bjl9QqLB0jftqUQDV6jm1 ZJernFWH1OXf3XqWcFzbIes3c0t7Xl+ZdiM7p/YdKcipK8XepvkMWwgyPesSLgv+ WpOezFuPGKLT1IQ3KbheCNH/PWgdarMndoLlBbxd6u1eEnBO70ZwsLxHVnYj2x+1 T5rU9tHbuKzMkyD0wTK3xznau8QFOS34rBmoruclAmp7aPy0n08o4+dZtSY6MFiv s0JeZRWwb6ZWtUUlI5r3UFw+WtU9aYdV0FsJBel8VClpR04J0TSs+NM74b7KrPo= =lgdc -----END PGP SIGNATURE----- --aLXqDtImFobGuqtxeUmc89nhmOUasrRvT--