From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2mxD-0005Yc-Rl for qemu-devel@nongnu.org; Wed, 10 Jun 2015 16:50:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2mxC-0007lR-RB for qemu-devel@nongnu.org; Wed, 10 Jun 2015 16:50:31 -0400 Message-ID: <5578A2FE.9020108@redhat.com> Date: Wed, 10 Jun 2015 14:50:06 -0600 From: Eric Blake MIME-Version: 1.0 References: <1433944027-28533-1-git-send-email-kwolf@redhat.com> <1433944027-28533-2-git-send-email-kwolf@redhat.com> In-Reply-To: <1433944027-28533-2-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CvmiI3V3Vh8vW5aLBu1ivfMvHRPeHJQt1" Subject: Re: [Qemu-devel] [PATCH v2 01/13] qdict: Add qdict_array_entries() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, berto@igalia.com, armbru@redhat.com, mreitz@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --CvmiI3V3Vh8vW5aLBu1ivfMvHRPeHJQt1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/10/2015 07:46 AM, Kevin Wolf wrote: > This counts the entries in a flattened array in a QDict without > actually splitting the QDict into a QList. >=20 > bdrv_open_image() doesn't take a QList, but rather a QDict and a key > prefix string, so this is more convenient for block drivers which have = a > dynamically sized list of child nodes (e.g. Quorum) and are to be > converted to using bdrv_open_image() as the standard interface for > opening child nodes. >=20 > Signed-off-by: Kevin Wolf > --- > include/qapi/qmp/qdict.h | 1 + > qobject/qdict.c | 78 ++++++++++++++++++++++++++++++++++++++++= +++++--- > 2 files changed, 75 insertions(+), 4 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --CvmiI3V3Vh8vW5aLBu1ivfMvHRPeHJQt1 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/ iQEcBAEBCAAGBQJVeKL+AAoJEKeha0olJ0Nq5PUIAI/fOjVXzcIXjNw7lG9O2daU k9d2oqBava0e4kylUykiVKJiF4cB9hILXBWckxOwfkbp6UYSl7cZ7Y1MWUbUjNSA OfvWZ0/ZX3SQ+MyjwAUGWU+1Eur/qNlrdW6NrGHTF+nEMuyCMt7GqzFvPKdQe1wY 0FYAAJr6Ty5icRgEz7SXT6U64MPIcwt3Oo/R3H8SaB3gDUENcrmIHmjiD9QbJas2 TBoYz6cecaZP7rO3QILAXkawzizJWvkmlkNk1eZ2AjZEhH9TUyI51ai05Cz84GoY yPEHTi5prMDs2Dc/zU+kSs3Sz10PoELJ8mVFCSOVJ0FmX2awVf4o3BKKHyClBMU= =jGgK -----END PGP SIGNATURE----- --CvmiI3V3Vh8vW5aLBu1ivfMvHRPeHJQt1--