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. This series of patches was sent last year as part of a larger series 'post-Eric's fixes, QAPI improvements'. It is still based on latest Eric qapi series that should land in upstream soon. 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 .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 | 206 +++--- monitor.c | 401 +++-------- qapi-schema.json | 45 ++ qmp-commands.hx => qmp-commands.txt | 1254 ----------------------------------- qmp.c | 16 - scripts/qapi-commands.py | 29 +- trace-events | 1 - vl.c | 1 + 15 files changed, 309 insertions(+), 1829 deletions(-) rename qmp-commands.hx => qmp-commands.txt (81%) -- 2.9.0