mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -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
|
@ -31,3 +31,8 @@ obj-y += qapi-events.o
|
|||
obj-y += $(QAPI_TARGET_MODULES:%=qapi-commands-%.o)
|
||||
obj-y += qapi-commands.o
|
||||
obj-y += qapi-init-commands.o
|
||||
|
||||
QAPI_MODULES_STORAGE_DAEMON = block-core char common control crypto
|
||||
QAPI_MODULES_STORAGE_DAEMON += introspect job qom sockets pragma transaction
|
||||
|
||||
storage-daemon-obj-y += $(QAPI_MODULES_STORAGE_DAEMON:%=qapi-commands-%.o)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# = Transactions
|
||||
##
|
||||
|
||||
{ 'include': 'block.json' }
|
||||
{ 'include': 'block-core.json' }
|
||||
|
||||
##
|
||||
# @Abort:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue