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>
Showing
- Makefile 33 additions, 0 deletionsMakefile
- Makefile.objs 2 additions, 2 deletionsMakefile.objs
- monitor/Makefile.objs 2 additions, 0 deletionsmonitor/Makefile.objs
- qapi/Makefile.objs 5 additions, 0 deletionsqapi/Makefile.objs
- qapi/transaction.json 1 addition, 1 deletionqapi/transaction.json
- qemu-storage-daemon.c 45 additions, 2 deletionsqemu-storage-daemon.c
- scripts/qapi/gen.py 5 additions, 0 deletionsscripts/qapi/gen.py
- storage-daemon/Makefile.objs 1 addition, 0 deletionsstorage-daemon/Makefile.objs
- storage-daemon/qapi/Makefile.objs 1 addition, 0 deletionsstorage-daemon/qapi/Makefile.objs
- storage-daemon/qapi/qapi-schema.json 26 additions, 0 deletionsstorage-daemon/qapi/qapi-schema.json
Loading
Please register or sign in to comment