From: "Daniel P. Berrange" <berrange@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH v7 21/26] qapi: Introduce a first class 'any' type
Date: Tue, 15 Sep 2015 12:39:22 +0100 [thread overview]
Message-ID: <20150915113922.GP23145@redhat.com> (raw)
In-Reply-To: <1442253477-15422-22-git-send-email-armbru@redhat.com>
On Mon, Sep 14, 2015 at 07:57:52PM +0200, Markus Armbruster wrote:
> It's first class, because unlike '**', it actually works, i.e. doesn't
> require 'gen': false.
>
> '**' will go away next.
>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> Reviewed-by: Eric Blake <eblake@redhat.com>
> ---
> docs/qapi-code-gen.txt | 1 +
> include/qapi/visitor-impl.h | 2 +
> include/qapi/visitor.h | 1 +
> qapi/qapi-dealloc-visitor.c | 9 ++++
> qapi/qapi-visit-core.c | 6 +++
> qapi/qmp-input-visitor.c | 11 +++++
> qapi/qmp-output-visitor.c | 9 ++++
> scripts/qapi-types.py | 1 +
> scripts/qapi.py | 9 ++--
> tests/Makefile | 3 +-
> tests/qapi-schema/args-any.err | 1 +
> .../{flat-union-base-star.exit => args-any.exit} | 0
> tests/qapi-schema/args-any.json | 2 +
> .../{flat-union-base-star.out => args-any.out} | 0
> tests/qapi-schema/flat-union-base-any.err | 1 +
> tests/qapi-schema/flat-union-base-any.exit | 1 +
> ...ion-base-star.json => flat-union-base-any.json} | 2 +-
> tests/qapi-schema/flat-union-base-any.out | 0
> tests/qapi-schema/flat-union-base-star.err | 1 -
> tests/qapi-schema/qapi-schema-test.json | 5 +-
> tests/qapi-schema/qapi-schema-test.out | 9 +++-
> tests/qapi-schema/type-bypass.out | 4 +-
> tests/test-qmp-commands.c | 5 ++
> tests/test-qmp-input-visitor.c | 45 ++++++++++++++++++
> tests/test-qmp-output-visitor.c | 53 ++++++++++++++++++++++
> 25 files changed, 171 insertions(+), 10 deletions(-)
> create mode 100644 tests/qapi-schema/args-any.err
> rename tests/qapi-schema/{flat-union-base-star.exit => args-any.exit} (100%)
> create mode 100644 tests/qapi-schema/args-any.json
> rename tests/qapi-schema/{flat-union-base-star.out => args-any.out} (100%)
> create mode 100644 tests/qapi-schema/flat-union-base-any.err
> create mode 100644 tests/qapi-schema/flat-union-base-any.exit
> rename tests/qapi-schema/{flat-union-base-star.json => flat-union-base-any.json} (95%)
> create mode 100644 tests/qapi-schema/flat-union-base-any.out
> delete mode 100644 tests/qapi-schema/flat-union-base-star.err
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
next prev parent reply other threads:[~2015-09-15 11:39 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-14 17:57 [Qemu-devel] [PATCH v7 00/26] qapi: QMP introspection Markus Armbruster
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 01/26] qapi: Rename class QAPISchema to QAPISchemaParser Markus Armbruster
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 02/26] qapi: New QAPISchema intermediate reperesentation Markus Armbruster
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 03/26] qapi: QAPISchema code generation helper methods Markus Armbruster
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 04/26] qapi: New QAPISchemaVisitor Markus Armbruster
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 05/26] tests/qapi-schema: Convert test harness to QAPISchemaVisitor Markus Armbruster
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 06/26] qapi-types: Convert to QAPISchemaVisitor, fixing flat unions Markus Armbruster
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 07/26] qapi-visit: Convert to QAPISchemaVisitor, fixing bugs Markus Armbruster
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 08/26] qapi-commands: Convert to QAPISchemaVisitor Markus Armbruster
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 09/26] qapi: De-duplicate enum code generation Markus Armbruster
2015-09-15 10:46 ` Daniel P. Berrange
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 10/26] qapi-event: Eliminate global variable event_enum_value Markus Armbruster
2015-09-15 10:47 ` Daniel P. Berrange
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 11/26] qapi-event: Convert to QAPISchemaVisitor, fixing data with base Markus Armbruster
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 12/26] qapi: Replace dirty is_c_ptr() by method c_null() Markus Armbruster
2015-09-15 10:48 ` Daniel P. Berrange
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 13/26] qapi: Clean up after recent conversions to QAPISchemaVisitor Markus Armbruster
2015-09-15 10:52 ` Daniel P. Berrange
2015-09-15 14:03 ` Eric Blake
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 14/26] qapi-visit: Rearrange code a bit Markus Armbruster
2015-09-15 10:53 ` Daniel P. Berrange
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 15/26] qapi-commands: Rearrange code Markus Armbruster
2015-09-15 10:54 ` Daniel P. Berrange
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 16/26] qapi: Rename qmp_marshal_input_FOO() to qmp_marshal_FOO() Markus Armbruster
2015-09-15 10:55 ` Daniel P. Berrange
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 17/26] qapi: De-duplicate parameter list generation Markus Armbruster
2015-09-15 10:57 ` Daniel P. Berrange
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 18/26] qapi-commands: De-duplicate output marshaling functions Markus Armbruster
2015-09-15 11:10 ` Daniel P. Berrange
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 19/26] qapi: Improve built-in type documentation Markus Armbruster
2015-09-15 11:15 ` Daniel P. Berrange
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 20/26] qapi: Make output visitor return qnull() instead of NULL Markus Armbruster
2015-09-14 19:07 ` Eric Blake
2015-09-15 11:37 ` Daniel P. Berrange
2015-09-15 13:20 ` Markus Armbruster
2015-09-15 14:08 ` Eric Blake
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 21/26] qapi: Introduce a first class 'any' type Markus Armbruster
2015-09-15 11:39 ` Daniel P. Berrange [this message]
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 22/26] qom: Don't use 'gen': false for qom-get, qom-set, object-add Markus Armbruster
2015-09-15 11:42 ` Daniel P. Berrange
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 23/26] qapi-schema: Fix up misleading specification of netdev_add Markus Armbruster
2015-09-15 11:43 ` Daniel P. Berrange
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 24/26] qapi: Pseudo-type '**' is now unused, drop it Markus Armbruster
2015-09-15 11:44 ` Daniel P. Berrange
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 25/26] qapi: New QMP command query-qmp-schema for QMP introspection Markus Armbruster
2015-09-14 17:57 ` [Qemu-devel] [PATCH v7 26/26] qapi-introspect: Hide type names Markus Armbruster
2015-09-15 18:14 ` [Qemu-devel] [PATCH v7 00/26] qapi: QMP introspection Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150915113922.GP23145@redhat.com \
--to=berrange@redhat.com \
--cc=armbru@redhat.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).