Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | monitor: Move qmp_query_qmp_schema to qmp-cmds-control.c | Kevin Wolf | 2020-02-17 | 1 | -0/+16 |
| | | | | | | | | | | | | monitor/misc.c contains code that works only in the system emulator, so it can't be linked to tools like a storage daemon. In order to make schema introspection available for tools, move the function to monitor/qmp-cmds-control.c, which can be linked into the storage daemon. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200129102239.31435-5-kwolf@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> | ||||
* | monitor: Collect "control" command handlers in qmp-cmds.control.c | Kevin Wolf | 2020-02-17 | 1 | -0/+153 |
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> |