[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 02/17] qapi-types/visit.py: Inheritance for s
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v2 02/17] qapi-types/visit.py: Inheritance for structs |
Date: |
Tue, 01 Oct 2013 09:21:18 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9 |
On 10/01/2013 07:20 AM, Kevin Wolf wrote:
> This introduces a new 'base' key for struct definitions that refers to
> another struct type. On the JSON level, the fields of the base type are
> included directly into the same namespace as the fields of the defined
> type, like with unions. On the C level, a pointer to a struct of the
> base type is included.
>
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
> docs/qapi-code-gen.txt | 17 +++++++++++++++++
> scripts/qapi-types.py | 4 ++++
> scripts/qapi-visit.py | 18 ++++++++++++++++--
> 3 files changed, 37 insertions(+), 2 deletions(-)
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 v2 00/17] blockdev-add QMP command, Kevin Wolf, 2013/10/01
- [Qemu-devel] [PATCH v2 01/17] qapi-types/visit.py: Pass whole expr dict for structs, Kevin Wolf, 2013/10/01
- [Qemu-devel] [PATCH v2 02/17] qapi-types/visit.py: Inheritance for structs, Kevin Wolf, 2013/10/01
- Re: [Qemu-devel] [PATCH v2 02/17] qapi-types/visit.py: Inheritance for structs,
Eric Blake <=
- [Qemu-devel] [PATCH v2 04/17] blockdev: 'blockdev-add' QMP command, Kevin Wolf, 2013/10/01
- [Qemu-devel] [PATCH v2 06/17] blockdev: Pass QDict to blockdev_init(), Kevin Wolf, 2013/10/01
- [Qemu-devel] [PATCH v2 05/17] blockdev: Separate ID generation from DriveInfo creation, Kevin Wolf, 2013/10/01
- [Qemu-devel] [PATCH v2 10/17] blockdev: Move parsing of 'boot' option to drive_init, Kevin Wolf, 2013/10/01
- [Qemu-devel] [PATCH v2 09/17] blockdev: Moving parsing of geometry options to drive_init, Kevin Wolf, 2013/10/01