mirror_qemu/monitor
Kevin Wolf 2af282ec51 qemu-storage-daemon: Add --monitor option
This adds and parses the --monitor option, so that a QMP monitor can be
used in the storage daemon. The monitor offers commands defined in the
QAPI schema at storage-daemon/qapi/qapi-schema.json.

The --monitor options currently allows to create multiple monitors with
the same ID. This part of the interface is considered unstable. We will
reject such configurations as soon as we have a design for the monitor
subsystem to perform these checks. (In the system emulator, we depend on
QemuOpts rejecting duplicate IDs.)

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200224143008.13362-21-kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2020-03-06 17:21:28 +01:00
..
Makefile.objs qemu-storage-daemon: Add --monitor option 2020-03-06 17:21:28 +01:00
hmp-cmds.c blockdev-nbd: Boxed argument type for nbd-server-add 2020-03-06 17:21:28 +01:00
hmp.c hmp: Fail gracefully if chardev is already in use 2020-03-06 17:21:28 +01:00
misc.c qapi: Flatten object-add 2020-03-06 17:21:27 +01:00
monitor-internal.h monitor: Move qmp_query_qmp_schema to qmp-cmds-control.c 2020-02-17 13:53:47 +01:00
monitor.c monitor: Add allow_hmp parameter to monitor_init() 2020-03-06 17:21:28 +01:00
qmp-cmds-control.c monitor: Move qmp_query_qmp_schema to qmp-cmds-control.c 2020-02-17 13:53:47 +01:00
qmp-cmds.c block: Move sysemu QMP commands to QAPI block module 2020-03-06 17:15:38 +01:00
qmp.c qmp: Fail gracefully if chardev is already in use 2020-03-06 17:21:28 +01:00
trace-events monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00