[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 06/18] qapi: Add visitor for implicit structs
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 06/18] qapi: Add visitor for implicit structs |
Date: |
Fri, 26 Jul 2013 07:12:43 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
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)
>
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
> 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 <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 00/18] 'blockdev-add' QMP command, Kevin Wolf, 2013/07/23
- [Qemu-devel] [PATCH 01/18] qapi-types.py: Split off generate_struct_fields(), Kevin Wolf, 2013/07/23
- [Qemu-devel] [PATCH 03/18] qapi-visit.py: Split off generate_visit_struct_fields(), Kevin Wolf, 2013/07/23
- [Qemu-devel] [PATCH 04/18] qapi-visit.py: Implement 'base' for unions, Kevin Wolf, 2013/07/23
- [Qemu-devel] [PATCH 02/18] qapi-types.py: Implement 'base' for unions, Kevin Wolf, 2013/07/23
- [Qemu-devel] [PATCH 06/18] qapi: Add visitor for implicit structs, Kevin Wolf, 2013/07/23
- Re: [Qemu-devel] [PATCH 06/18] qapi: Add visitor for implicit structs,
Eric Blake <=
- [Qemu-devel] [PATCH 05/18] docs: Document QAPI union types, Kevin Wolf, 2013/07/23
- [Qemu-devel] [PATCH 07/18] qapi: Flat unions with arbitrary discriminator, Kevin Wolf, 2013/07/23
- [Qemu-devel] [PATCH v2 07/17] qapi: Flat unions with arbitrary discriminator, Kevin Wolf, 2013/07/26
- [Qemu-devel] [PATCH 09/18] qapi.py: Maintain a list of union types, Kevin Wolf, 2013/07/23