From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vu6FQ-0008D8-Ja for qemu-devel@nongnu.org; Fri, 20 Dec 2013 15:00:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vu6FL-0005gZ-Ao for qemu-devel@nongnu.org; Fri, 20 Dec 2013 15:00:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vu6FL-0005gG-19 for qemu-devel@nongnu.org; Fri, 20 Dec 2013 15:00:31 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rBKK0TRq020660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 20 Dec 2013 15:00:29 -0500 Message-ID: <52B4A1DB.5020608@redhat.com> Date: Fri, 20 Dec 2013 13:00:27 -0700 From: Eric Blake MIME-Version: 1.0 References: <1387564104-15315-1-git-send-email-mreitz@redhat.com> <1387564104-15315-5-git-send-email-mreitz@redhat.com> In-Reply-To: <1387564104-15315-5-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jtFNIwJXiPcX6k0UxLMlmEDa3bjLShsbX" Subject: Re: [Qemu-devel] [PATCH v7 04/24] 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) --jtFNIwJXiPcX6k0UxLMlmEDa3bjLShsbX Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/20/2013 11:28 AM, 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 | 54 ++++++++++++++++++++++++++++++++++++++++++++++++-= ----- > 1 file changed, 48 insertions(+), 6 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --jtFNIwJXiPcX6k0UxLMlmEDa3bjLShsbX 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/ iQEcBAEBCAAGBQJStKHbAAoJEKeha0olJ0Nq9dUIAJE59ybP9/zGtuJBRojM9Hf8 XvDFxTBHngThnP41xlZOhWTkvCgD0eF32xKrSoqz3rUHCD6XFoXbiY6lxsU+xaor UoB+Os3pbDgkhQQDMm0cvR5i7JwgGi1ChNHfbGNJpct8gxe7ses8C7cIt/1I7joA AKSJYHGs4Fbn1KCcQTadaWt7eAyFL4+Gh8zMJDy4a68wlJ6lIT3iD8LwSJ0wqUKO OGc4pSEjkXidbO8sHthu483zC0yvEbYFLN+nX8T8kv7b4PzlsUYJWugacyxOTVF3 T5SXjLPa+IvXJsB9smimda1OUbRrp+Hb3PU5nmMRXDb0Pz9IXZpQOXY/Y8ncgOs= =eOA/ -----END PGP SIGNATURE----- --jtFNIwJXiPcX6k0UxLMlmEDa3bjLShsbX--