]> git.proxmox.com Git - mirror_qemu.git/commit
qapi: Support multiple command registries per program
authorMarkus Armbruster <armbru@redhat.com>
Fri, 3 Mar 2017 12:32:25 +0000 (13:32 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Sun, 5 Mar 2017 08:12:25 +0000 (09:12 +0100)
commit1527badb954f2d8c17b86e2a258812def5ea3dcc
tree115c03868efbc08b8149dc738ac0f19be5138ae6
parent05875687806b71ae980ca59a46777b742b20ac06
qapi: Support multiple command registries per program

The command registry encapsulates a single command list.  Give the
functions using it a parameter instead.  Define suitable command lists
in monitor, guest agent and test-qmp-commands.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1488544368-30622-6-git-send-email-armbru@redhat.com>
[Debugging turds buried]
Reviewed-by: Eric Blake <eblake@redhat.com>
include/qapi/qmp/dispatch.h
monitor.c
qapi/qmp-dispatch.c
qapi/qmp-registry.c
qga/commands.c
qga/guest-agent-core.h
qga/main.c
scripts/qapi-commands.py
tests/test-qmp-commands.c