Re: [PATCH 3/6] qapi: Generate command registration stuff into separate files

2019-11-27 Thread Markus Armbruster
Eric Blake writes: > On 11/20/19 12:25 PM, Markus Armbruster wrote: >> 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-of

Re: [PATCH 3/6] qapi: Generate command registration stuff into separate files

2019-11-20 Thread Eric Blake
On 11/20/19 12:25 PM, Markus Armbruster wrote: 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 --- +++ b/

[PATCH 3/6] qapi: Generate command registration stuff into separate files

2019-11-20 Thread Markus Armbruster
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 --- docs/devel/qapi-code-gen.txt | 19 --- Ma