]> git.proxmox.com Git - mirror_qemu.git/commit - qga/main.c
qapi: Generate command registration stuff into separate files
authorMarkus Armbruster <armbru@redhat.com>
Wed, 20 Nov 2019 18:25:48 +0000 (19:25 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 14 Jan 2020 10:01:58 +0000 (11:01 +0100)
commit00ca24ff9e5fc3c6ae608226908e6864ad8193a8
treebafb9fbc9b4fd8961e264b9580c5d4f68162343c
parent0cc0e2689498e2b731330980b1cecb83987b1bc8
qapi: Generate command registration stuff into separate files

Having to include qapi-commands.h just for qmp_init_marshal() is
suboptimal.  Generate it into separate files.  This lets
monitor/misc.c, qga/main.c, and the generated qapi-commands-FOO.h
include less.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191120182551.23795-4-armbru@redhat.com>
[Typos in docs/devel/qapi-code-gen.txt fixed]
Reviewed-by: Eric Blake <eblake@redhat.com>
.gitignore
Makefile
docs/devel/qapi-code-gen.txt
monitor/misc.c
qapi/Makefile.objs
qga/Makefile.objs
qga/main.c
scripts/qapi/commands.py
tests/.gitignore
tests/Makefile.include
tests/test-qmp-cmds.c