From: Marc-André Lureau <marcandre.lur...@redhat.com> Hi,
Although some QMP commands are still not fully qapi'fied, it is possible to use more qapi common and generated code by dropping the 'middle' mode. v2: - rebased on master - add Since: 0.13 to qmp_capabilities and device_add documentation - fix device_add doc - add missing spaces after ',' in get_qmp_greeting() - fix some grammar in monitor.c while touching it Marc-André Lureau (12): qapi-schema: use generated marshaller for 'qmp_capabilities' qapi-schema: add 'device_add' monitor: register gen:false commands manually monitor: remove usage of generated marshal functions monitor: register the qapi generated commands monitor: remove mhandler.cmd_new monitor: implement 'qmp_query_commands' without qmp_cmds build-sys: remove qmp-commands-old.h qapi: remove the "middle" mode monitor: use qmp_dispatch() qmp: update qmp_query_spice fallback Drop qmp-commands.hx monitor.c | 408 +++--------- .gitignore | 1 - MAINTAINERS | 2 +- Makefile | 5 +- Makefile.target | 7 +- docs/qapi-code-gen.txt | 6 +- docs/writing-qmp-commands.txt | 46 +- hmp-commands-info.hx | 118 ++-- hmp-commands.hx | 208 +++--- qapi-schema.json | 50 ++ qmp-commands.hx => qmp-commands.txt | 1256 +---------------------------------- qmp.c | 16 - scripts/qapi-commands.py | 29 +- trace-events | 1 - vl.c | 1 + 15 files changed, 323 insertions(+), 1831 deletions(-) rename qmp-commands.hx => qmp-commands.txt (82%) -- 2.9.0