From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1iMf-0002AI-2r for qemu-devel@nongnu.org; Wed, 25 Nov 2015 17:16:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1iMa-0006uB-4p for qemu-devel@nongnu.org; Wed, 25 Nov 2015 17:16:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1iMZ-0006u7-VP for qemu-devel@nongnu.org; Wed, 25 Nov 2015 17:16:32 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 8B4664F63A for ; Wed, 25 Nov 2015 22:16:31 +0000 (UTC) References: <1448486613-17634-1-git-send-email-armbru@redhat.com> <1448486613-17634-9-git-send-email-armbru@redhat.com> From: Eric Blake Message-ID: <5656333E.8000000@redhat.com> Date: Wed, 25 Nov 2015 15:16:30 -0700 MIME-Version: 1.0 In-Reply-To: <1448486613-17634-9-git-send-email-armbru@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WaLABNPXBKwWu7vv9ERIXclH4hbS6HV31" Subject: Re: [Qemu-devel] [PATCH v3 for-2.5 08/12] qjson: replace QString in JSONLexer with GString List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster , qemu-devel@nongnu.org Cc: pbonzini@redhat.com, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WaLABNPXBKwWu7vv9ERIXclH4hbS6HV31 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/25/2015 02:23 PM, Markus Armbruster wrote: > From: Paolo Bonzini >=20 > JSONLexer only needs a simple resizable buffer. json-streamer.c > can allocate memory for each token instead of relying on reference > counting of QStrings. >=20 > Signed-off-by: Paolo Bonzini > Message-Id: <1448300659-23559-2-git-send-email-pbonzini@redhat.com> > [Straightforwardly rebased on my patches, checkpatch made happy] > Signed-off-by: Markus Armbruster > --- > include/qapi/qmp/json-lexer.h | 8 ++++---- > include/qapi/qmp/json-streamer.h | 1 + > qobject/json-lexer.c | 22 ++++++++-------------- > qobject/json-streamer.c | 9 +++++---- > 4 files changed, 18 insertions(+), 22 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --WaLABNPXBKwWu7vv9ERIXclH4hbS6HV31 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/ iQEcBAEBCAAGBQJWVjM+AAoJEKeha0olJ0Nqt88H/0qnT7zZaIEfbIpHe8HTH1kz 9RY4TxjI+ERJBRRprGo/GuRi0XqKe2U4AMvB2JNEFSOB7JNhZb5RynHNedfx5cbT ATAKtihlAKPNiVTYDiX7vS2kD8N/GGdQqAXZXcpDq2FT9n828Ob3D85Yr067OD8j qnEt+4e1hHGJNfFpgYiKpVOr2+K+a3TK2JU0aceJA1NnWkXhfF/emzWpYfBuiXuZ 67VKCSSyoQiZVpayYiKB4HXKnai0y7Nmc3Wd9a0XAhL2IhZIYFYHclP3q+7/+NwZ X93/lnzmARMwS0xChKCxLUGWETt2iPYlqxy7nMQv693VpstJzeVoCT1aIXpPUtE= =i488 -----END PGP SIGNATURE----- --WaLABNPXBKwWu7vv9ERIXclH4hbS6HV31--