qemu/scripts/qapi
Marc-André Lureau 7d0f982bfb qapi: generate a literal qobject for introspection
Replace the generated json string with a literal qobject. The later is
easier to deal with, at run time as well as compile time: adding #if
conditionals will be easier than in a json string.

The output of query-qmp-schema is not changed.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180305172951.2150-5-marcandre.lureau@redhat.com>
[eblake: fix python 3 failure]
Signed-off-by: Eric Blake <eblake@redhat.com>
2018-03-19 10:00:14 -05:00
..
__init__.py
commands.py qapi: Move qapi-schema.json to qapi/, rename generated files 2018-03-02 13:45:57 -06:00
common.py qapi: Move qapi-schema.json to qapi/, rename generated files 2018-03-02 13:45:57 -06:00
doc.py qapi2texi: minor python code simplification 2018-03-19 10:00:14 -05:00
events.py qapi: Move qapi-schema.json to qapi/, rename generated files 2018-03-02 13:45:57 -06:00
introspect.py qapi: generate a literal qobject for introspection 2018-03-19 10:00:14 -05:00
types.py qapi: Move qapi-schema.json to qapi/, rename generated files 2018-03-02 13:45:57 -06:00
visit.py qapi: Move qapi-schema.json to qapi/, rename generated files 2018-03-02 13:45:57 -06:00