If quorum's child is broken, we can use mirror job to replace it. But sometimes, the user only need to remove the broken child, and add it later when the problem is fixed.
Wen Congyang (6): QAPI: move InetSocketAddress to qapi/common.json support nbd driver in blockdev-add Add new block driver interface to add/delete a BDS's child quorum: implement block driver interfaces add/delete a BDS's child qmp: add monitor command to add/remove a child hmp: add monitor command to add/remove a child block.c | 52 +++++++++++++++++++++ block/quorum.c | 74 +++++++++++++++++++++++++++++- blockdev.c | 112 ++++++++++++++++++++++++++++++++++++++++++++++ hmp-commands.hx | 28 ++++++++++++ include/block/block.h | 4 ++ include/block/block_int.h | 5 +++ include/sysemu/blockdev.h | 2 + qapi-schema.json | 27 ----------- qapi/block-core.json | 49 +++++++++++++++++++- qapi/common.json | 27 +++++++++++ qmp-commands.hx | 67 +++++++++++++++++++++++++++ 11 files changed, 416 insertions(+), 31 deletions(-) -- 2.4.3