[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 00/12] qapi: remove the 'middle' mode
From: |
marcandre . lureau |
Subject: |
[Qemu-devel] [PATCH v2 00/12] qapi: remove the 'middle' mode |
Date: |
Thu, 21 Jul 2016 18:00:18 +0400 |
From: Marc-André Lureau <address@hidden>
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
- [Qemu-devel] [PATCH v2 00/12] qapi: remove the 'middle' mode,
marcandre . lureau <=
- [Qemu-devel] [PATCH v2 01/12] qapi-schema: use generated marshaller for 'qmp_capabilities', marcandre . lureau, 2016/07/21
- [Qemu-devel] [PATCH v2 02/12] qapi-schema: add 'device_add', marcandre . lureau, 2016/07/21
- [Qemu-devel] [PATCH v2 04/12] monitor: remove usage of generated marshal functions, marcandre . lureau, 2016/07/21
- [Qemu-devel] [PATCH v2 03/12] monitor: register gen:false commands manually, marcandre . lureau, 2016/07/21
- [Qemu-devel] [PATCH v2 05/12] monitor: register the qapi generated commands, marcandre . lureau, 2016/07/21
- [Qemu-devel] [PATCH v2 07/12] monitor: implement 'qmp_query_commands' without qmp_cmds, marcandre . lureau, 2016/07/21