]> git.proxmox.com Git - mirror_qemu.git/commit - monitor/qmp-cmds-control.c
monitor: Collect "control" command handlers in qmp-cmds.control.c
authorKevin Wolf <kwolf@redhat.com>
Wed, 29 Jan 2020 10:22:38 +0000 (11:22 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 17 Feb 2020 12:53:47 +0000 (13:53 +0100)
commit567628163ec8c6b76ba3117c3062edc0521dc185
treeb98bacb145d58d17a279e484db56311a10deaead
parentfa4dcf577ea61758bf55b64c8f9590c29897fb82
monitor: Collect "control" command handlers in qmp-cmds.control.c

Move all of the QMP commands handlers to implement the 'control' module
(qapi/control.json) that can be shared between the system emulator and
tools such as a storage daemon to a new file monitor/qmp-cmds-control.c.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20200129102239.31435-4-kwolf@redhat.com>
[Commit message tweaked]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
monitor/Makefile.objs
monitor/misc.c
monitor/qmp-cmds-control.c [new file with mode: 0644]
monitor/qmp-cmds.c