From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzqbo-0001GS-0r for qemu-devel@nongnu.org; Fri, 20 Nov 2015 13:40:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zzqbk-0002Mw-R0 for qemu-devel@nongnu.org; Fri, 20 Nov 2015 13:40:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzqbk-0002Mj-JE for qemu-devel@nongnu.org; Fri, 20 Nov 2015 13:40:28 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 0ACD980081 for ; Fri, 20 Nov 2015 18:40:27 +0000 (UTC) References: <1448010269-21694-1-git-send-email-pbonzini@redhat.com> <1448010269-21694-4-git-send-email-pbonzini@redhat.com> From: Eric Blake Message-ID: <564F6916.8030807@redhat.com> Date: Fri, 20 Nov 2015 11:40:22 -0700 MIME-Version: 1.0 In-Reply-To: <1448010269-21694-4-git-send-email-pbonzini@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Pvwko40whMAfiCxCNnQK8PowsPtD5TT4W" Subject: Re: [Qemu-devel] [PATCH 3/4] qjson: store tokens in a GQueue List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: armbru@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Pvwko40whMAfiCxCNnQK8PowsPtD5TT4W Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/20/2015 02:04 AM, Paolo Bonzini wrote: > Even though we still have the "streamer" concept, the tokens can now > be deleted as they are read. While doing so convert from QList to > GQueue, since the next step will make tokens not a QObject and we > will have to do the conversion anyway. >=20 > Signed-off-by: Paolo Bonzini > --- > include/qapi/qmp/json-parser.h | 4 +-- > include/qapi/qmp/json-streamer.h | 8 ++--- > monitor.c | 2 +- > qga/main.c | 2 +- > qobject/json-parser.c | 65 +++++++++++++-------------------= -------- > qobject/json-streamer.c | 25 +++++++++------- > qobject/qjson.c | 2 +- > tests/libqtest.c | 2 +- > 8 files changed, 45 insertions(+), 65 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --Pvwko40whMAfiCxCNnQK8PowsPtD5TT4W 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/ iQEcBAEBCAAGBQJWT2kWAAoJEKeha0olJ0NqOeQH/A6IyOsV5GP/825Lit464oXx lDp0xeY9B8EUyqY5mJk+v9XsescS07YqyKY/DyqSIbo5xF2lIFbfH2v45ITmT5Tq CBZRZQA3zmUpYVeymlfBJz/KcSz3ZOu8W2LaE+0bdt9Z8ttS9+OTsDDJmMk0XY3U nMg2nOnikblNsG/GHOEmlE5JZ8HrJbQWL7U01oF8tEWrZML3odKlXnEUNXmJZhXn OtS/Pkr3nGQwrjrxq9dJTZVofwkIvflSsgfclfOXDqA/DfvWnKLT1IPPafO5Mm3e S8amlY6y/eW9PTObbVBgroVwmuDH0cVIyuNOznXn7eLyxJ0B6RaHc8UUygHXgFI= =f2X4 -----END PGP SIGNATURE----- --Pvwko40whMAfiCxCNnQK8PowsPtD5TT4W--