mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
a2f411c467
commit
2af282ec51
10 changed files with 121 additions and 5 deletions
|
@ -2,3 +2,5 @@ obj-y += misc.o
|
|||
common-obj-y += monitor.o qmp.o hmp.o
|
||||
common-obj-y += qmp-cmds.o qmp-cmds-control.o
|
||||
common-obj-y += hmp-cmds.o
|
||||
|
||||
storage-daemon-obj-y += monitor.o qmp.o qmp-cmds-control.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue