From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2hp8-0006Dt-Dh for qemu-devel@nongnu.org; Fri, 26 Jul 2013 09:12:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2hp7-00063D-9l for qemu-devel@nongnu.org; Fri, 26 Jul 2013 09:12:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2hp7-00062b-13 for qemu-devel@nongnu.org; Fri, 26 Jul 2013 09:12:45 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6QDCiiE013993 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 26 Jul 2013 09:12:44 -0400 Message-ID: <51F275CB.8070001@redhat.com> Date: Fri, 26 Jul 2013 07:12:43 -0600 From: Eric Blake MIME-Version: 1.0 References: <1374584606-5615-1-git-send-email-kwolf@redhat.com> <1374584606-5615-7-git-send-email-kwolf@redhat.com> In-Reply-To: <1374584606-5615-7-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aqgokB5koD2KlqufUMmtmVgCjBV8vspxJ" Subject: Re: [Qemu-devel] [PATCH 06/18] qapi: Add visitor for implicit structs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: armbru@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aqgokB5koD2KlqufUMmtmVgCjBV8vspxJ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/23/2013 07:03 AM, Kevin Wolf wrote: > These can be used when an embedded struct is parsed and members not > belonging to the struct may be present in the input (e.g. parsing a > flat namespace QMP union, where fields from both the base and one > of the alternative types are mixed in the JSON object) >=20 > Signed-off-by: Kevin Wolf > --- > include/qapi/visitor-impl.h | 4 ++++ > include/qapi/visitor.h | 3 +++ > qapi/qapi-visit-core.c | 16 ++++++++++++++++ > qapi/qmp-input-visitor.c | 14 ++++++++++++++ > 4 files changed, 37 insertions(+) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --aqgokB5koD2KlqufUMmtmVgCjBV8vspxJ 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.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJR8nXLAAoJEKeha0olJ0NqGMgH/RgYU6T9gxCbWj1Bl8LrOi30 MWtYF9d1Of8JY1k2Duz50IQxcF/K4zCiRufahqCf6x1DWKD0Y+5ON8qKxD9HH39D PExw86IxXE0lm6hHLsE3s/7CpaGQeE4DXAdKOCvG1nqpHZoBWDgk1xCg4MiUF+r/ hEbhu4x98EaCjKp9YC5Q7/MTgTXL3bpE4kUenz8uRHP4BbClawHdCR39uTKs6QZ+ n+WsCk7Xlk6D5JqSbtDMUOeOpl5X+PbK7e1jzkRwH/HNVj50SPZfuQLg7ENsWKVv HwxsBmtQKbWpRCiBOPkt9od5B7vrsV0xMtKgIOXwE7pgoASUnkQK6Tp8mdPl3M4= =OuwS -----END PGP SIGNATURE----- --aqgokB5koD2KlqufUMmtmVgCjBV8vspxJ--