From: Markus Armbruster <armbru@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PULL 00/26] qapi: QMP introspection
Date: Mon, 21 Sep 2015 10:03:34 +0200 [thread overview]
Message-ID: <1442822640-29912-1-git-send-email-armbru@redhat.com> (raw)
The following changes since commit 18640989a9f5e4d2e84b566c52ff1fccfa0dbf4a:
Merge remote-tracking branch 'remotes/afaerber/tags/qom-devices-for-peter' into staging (2015-09-19 15:59:52 +0100)
are available in the git repository at:
git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2015-09-21
for you to fetch changes up to 1a9a507b2e3e90aa719c96b4c092e7fad7215f21:
qapi-introspect: Hide type names (2015-09-21 09:56:49 +0200)
----------------------------------------------------------------
qapi: QMP introspection
----------------------------------------------------------------
Markus Armbruster (26):
qapi: Rename class QAPISchema to QAPISchemaParser
qapi: New QAPISchema intermediate reperesentation
qapi: QAPISchema code generation helper methods
qapi: New QAPISchemaVisitor
tests/qapi-schema: Convert test harness to QAPISchemaVisitor
qapi-types: Convert to QAPISchemaVisitor, fixing flat unions
qapi-visit: Convert to QAPISchemaVisitor, fixing bugs
qapi-commands: Convert to QAPISchemaVisitor
qapi: De-duplicate enum code generation
qapi-event: Eliminate global variable event_enum_value
qapi-event: Convert to QAPISchemaVisitor, fixing data with base
qapi: Replace dirty is_c_ptr() by method c_null()
qapi: Clean up after recent conversions to QAPISchemaVisitor
qapi-visit: Rearrange code a bit
qapi-commands: Rearrange code
qapi: Rename qmp_marshal_input_FOO() to qmp_marshal_FOO()
qapi: De-duplicate parameter list generation
qapi-commands: De-duplicate output marshaling functions
qapi: Improve built-in type documentation
qapi: Make output visitor return qnull() instead of NULL
qapi: Introduce a first class 'any' type
qom: Don't use 'gen': false for qom-get, qom-set, object-add
qapi-schema: Fix up misleading specification of netdev_add
qapi: Pseudo-type '**' is now unused, drop it
qapi: New QMP command query-qmp-schema for QMP introspection
qapi-introspect: Hide type names
.gitignore | 1 +
Makefile | 9 +-
Makefile.objs | 4 +-
docs/qapi-code-gen.txt | 355 +++++++++--
docs/writing-qmp-commands.txt | 8 +-
include/monitor/monitor.h | 3 -
include/qapi/visitor-impl.h | 2 +
include/qapi/visitor.h | 1 +
monitor.c | 18 +-
qapi-schema.json | 25 +-
qapi/introspect.json | 273 ++++++++
qapi/qapi-dealloc-visitor.c | 9 +
qapi/qapi-visit-core.c | 6 +
qapi/qmp-input-visitor.c | 11 +
qapi/qmp-output-visitor.c | 17 +-
qmp-commands.hx | 269 ++++----
qmp.c | 27 +-
scripts/qapi-commands.py | 286 +++++----
scripts/qapi-event.py | 243 +++----
scripts/qapi-introspect.py | 213 +++++++
scripts/qapi-types.py | 375 +++++------
scripts/qapi-visit.py | 369 +++++------
scripts/qapi.py | 702 ++++++++++++++++++---
tests/.gitignore | 1 +
tests/Makefile | 15 +-
tests/qapi-schema/alternate-good.out | 16 +-
tests/qapi-schema/args-any.err | 1 +
.../{type-bypass-no-gen.exit => args-any.exit} | 0
tests/qapi-schema/args-any.json | 2 +
.../qapi-schema/{type-bypass.err => args-any.out} | 0
tests/qapi-schema/args-member-array.out | 14 +-
tests/qapi-schema/comments.out | 5 +-
tests/qapi-schema/empty.out | 4 +-
tests/qapi-schema/enum-empty.out | 5 +-
tests/qapi-schema/event-case.out | 5 +-
tests/qapi-schema/flat-union-base-any.err | 1 +
...ion-base-star.exit => flat-union-base-any.exit} | 0
...ion-base-star.json => flat-union-base-any.json} | 2 +-
...e-bypass-no-gen.out => flat-union-base-any.out} | 0
tests/qapi-schema/flat-union-base-star.err | 1 -
tests/qapi-schema/flat-union-base-star.out | 0
tests/qapi-schema/flat-union-reverse-define.out | 22 +-
tests/qapi-schema/ident-with-escape.out | 8 +-
tests/qapi-schema/include-relpath.out | 5 +-
tests/qapi-schema/include-repetition.out | 5 +-
tests/qapi-schema/include-simple.out | 5 +-
tests/qapi-schema/indented-expr.out | 8 +-
tests/qapi-schema/qapi-schema-test.json | 11 +-
tests/qapi-schema/qapi-schema-test.out | 226 +++++--
tests/qapi-schema/returns-int.out | 6 +-
tests/qapi-schema/test-qapi.py | 47 +-
tests/qapi-schema/type-bypass-no-gen.err | 1 -
tests/qapi-schema/type-bypass-no-gen.json | 2 -
tests/qapi-schema/type-bypass.exit | 1 -
tests/qapi-schema/type-bypass.json | 2 -
tests/qapi-schema/type-bypass.out | 3 -
tests/test-qmp-commands.c | 5 +
tests/test-qmp-input-strict.c | 59 +-
tests/test-qmp-input-visitor.c | 49 +-
tests/test-qmp-output-visitor.c | 56 +-
60 files changed, 2624 insertions(+), 1195 deletions(-)
create mode 100644 qapi/introspect.json
create mode 100644 scripts/qapi-introspect.py
create mode 100644 tests/qapi-schema/args-any.err
rename tests/qapi-schema/{type-bypass-no-gen.exit => args-any.exit} (100%)
create mode 100644 tests/qapi-schema/args-any.json
rename tests/qapi-schema/{type-bypass.err => args-any.out} (100%)
create mode 100644 tests/qapi-schema/flat-union-base-any.err
rename tests/qapi-schema/{flat-union-base-star.exit => flat-union-base-any.exit} (100%)
rename tests/qapi-schema/{flat-union-base-star.json => flat-union-base-any.json} (95%)
rename tests/qapi-schema/{type-bypass-no-gen.out => flat-union-base-any.out} (100%)
delete mode 100644 tests/qapi-schema/flat-union-base-star.err
delete mode 100644 tests/qapi-schema/flat-union-base-star.out
delete mode 100644 tests/qapi-schema/type-bypass-no-gen.err
delete mode 100644 tests/qapi-schema/type-bypass-no-gen.json
delete mode 100644 tests/qapi-schema/type-bypass.exit
delete mode 100644 tests/qapi-schema/type-bypass.json
delete mode 100644 tests/qapi-schema/type-bypass.out
--
2.4.3
next reply other threads:[~2015-09-21 8:04 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-21 8:03 Markus Armbruster [this message]
2015-09-21 8:03 ` [Qemu-devel] [PULL 01/26] qapi: Rename class QAPISchema to QAPISchemaParser Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 02/26] qapi: New QAPISchema intermediate reperesentation Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 03/26] qapi: QAPISchema code generation helper methods Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 04/26] qapi: New QAPISchemaVisitor Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 05/26] tests/qapi-schema: Convert test harness to QAPISchemaVisitor Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 06/26] qapi-types: Convert to QAPISchemaVisitor, fixing flat unions Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 07/26] qapi-visit: Convert to QAPISchemaVisitor, fixing bugs Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 08/26] qapi-commands: Convert to QAPISchemaVisitor Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 09/26] qapi: De-duplicate enum code generation Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 10/26] qapi-event: Eliminate global variable event_enum_value Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 11/26] qapi-event: Convert to QAPISchemaVisitor, fixing data with base Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 12/26] qapi: Replace dirty is_c_ptr() by method c_null() Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 13/26] qapi: Clean up after recent conversions to QAPISchemaVisitor Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 14/26] qapi-visit: Rearrange code a bit Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 15/26] qapi-commands: Rearrange code Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 16/26] qapi: Rename qmp_marshal_input_FOO() to qmp_marshal_FOO() Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 17/26] qapi: De-duplicate parameter list generation Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 18/26] qapi-commands: De-duplicate output marshaling functions Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 19/26] qapi: Improve built-in type documentation Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 20/26] qapi: Make output visitor return qnull() instead of NULL Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 21/26] qapi: Introduce a first class 'any' type Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 22/26] qom: Don't use 'gen': false for qom-get, qom-set, object-add Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 23/26] qapi-schema: Fix up misleading specification of netdev_add Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 24/26] qapi: Pseudo-type '**' is now unused, drop it Markus Armbruster
2015-09-21 8:03 ` [Qemu-devel] [PULL 25/26] qapi: New QMP command query-qmp-schema for QMP introspection Markus Armbruster
2015-09-21 8:04 ` [Qemu-devel] [PULL 26/26] qapi-introspect: Hide type names Markus Armbruster
2015-09-21 23:36 ` [Qemu-devel] [PULL 00/26] qapi: QMP introspection Peter Maydell
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=1442822640-29912-1-git-send-email-armbru@redhat.com \
--to=armbru@redhat.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).