On 4/24/20 3:43 AM, Markus Armbruster wrote:
For QMP commands without arguments, gen_marshal() laboriously
generates a qmp_marshal_FOO() that copes with null @args. Turns
there's just one caller that passes null instead of an empty QDict.
Adjust that caller, and simplify gen_marshal().
Signed-off-by: Markus Armbruster <arm...@redhat.com>
---
docs/devel/qapi-code-gen.txt | 2 +-
monitor/qmp.c | 5 ++++-
scripts/qapi/commands.py | 26 ++------------------------
3 files changed, 7 insertions(+), 26 deletions(-)
Fun diffstat.
Reviewed-by: Eric Blake <ebl...@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org