This is an implement of qmp full-introspection, parse and convert the json string to a dynamical tree, return it to management through QMP command output.
Anthony has another suggestion: http://lists.nongnu.org/archive/html/qemu-devel/2013-07/msg01903.html The whole output of query-qmp-schema command: https://raw.github.com/kongove/misc/master/txt/query-qmp-schema.txt Welcome your comments! Amos Kong (2): qapi: change qapi to convert schema json full introspection support for QMP Makefile | 5 +- docs/qmp-full-introspection.txt | 143 +++++++++++++++++++ qapi-schema.json | 69 +++++++++ qmp-commands.hx | 39 +++++ qmp.c | 307 ++++++++++++++++++++++++++++++++++++++++ scripts/qapi-commands.py | 2 +- scripts/qapi-types.py | 47 +++++- scripts/qapi-visit.py | 2 +- scripts/qapi.py | 4 +- 9 files changed, 611 insertions(+), 7 deletions(-) create mode 100644 docs/qmp-full-introspection.txt -- 1.8.3.1