blockdev-replace
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest11 patches 1 replyIn review
- v2 RFC4 patches 0 repliesSuperseded
- v1 RFC8 patches 12 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | block-backend: blk_root(): drop const specifier on return typeblock/ include/ | +2 | 0 replies | |
| 2/11 | block/export: add blk_by_export_id()block/ include/ | +19 | 0 replies | |
| 3/11 | block: make bdrv_find_child() function publicblock.c blockdev.c include/ | +14 | 0 replies | |
| 4/11 | block: bdrv_replace_child_bs(): move to external transactionblock.c block/ include/ | +35 | 0 replies | |
| 5/11 | qapi: add x-blockdev-replace commandblockdev.c qapi/ stubs/ +1 more | +137 | 0 replies | |
| 6/11 | qapi: add x-blockdev-replace transaction actionblockdev.c qapi/ | +47 | 0 replies | |
| 7/11 | block: bdrv_get_xdbg_block_graph(): report export idsblock.c block/ include/ +2 more | +28 | 0 replies | |
| 8/11 | iotests.py: qemu_img_create: use imgfmt by defaulttests/ | +2 | 0 replies | |
| 9/11 | iotests.py: introduce VM.assert_edges_list() methodtests/ | +17 | 0 replies | |
| 10/11 | iotests.py: add VM.qmp_check() helpertests/ | +4 | 0 replies | |
| 11/11 | iotests: add filter-insertiontests/ tests/ | +258 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 00/11] blockdev-replace
Hi all!
Finally, that's a proposal for new interface for filter insertion, which provides generic way for inserting between different block graph nodes, like BDS nodes, block exports and block devices.
v3: - add transaction support
- add test, that shows transactional filter insertion in different cases
- drop RFC mark. I think it's now close to be a good solution. And anyway, no comments on "RFC v2" version :) Still, I want to keep x- prefix for now, just because there were too many different ideas on this topic.
Vladimir Sementsov-Ogievskiy (11):
block-backend: blk_root(): drop const specifier on return type block/export: add blk_by_export_id()
block: make bdrv_find_child() function public
block: bdrv_replace_child_bs(): move to external transaction
qapi: add x-blockdev-replace command
qapi: add x-blockdev-replace transaction action
block: bdrv_get_xdbg_block_graph(): report export ids iotests.py: qemu_img_create: use imgfmt by default iotests.py: introduce VM.assert_edges_list() method iotests.py: add VM.qmp_check() helper
iotests: add filter-insertion
qapi/block-core.json | 62 +++++ qapi/transaction.json | 14 +- include/block/block.h | 2 +- include/block/block_int.h | 1 + include/block/export.h | 1 + include/sysemu/block-backend.h | 3 +- block.c | 59 ++-- block/block-backend.c | 10 +- block/export/export.c | 31 +++ blockdev.c | 113 +++++++- stubs/blk-by-qdev-id.c | 9 + stubs/blk-exp-find-by-blk.c | 9 + stubs/meson.build | 2 + tests/qemu-iotests/iotests.py | 23 ++ tests/qemu-iotests/tests/filter-insertion | 253 ++++++++++++++++++ tests/qemu-iotests/tests/filter-insertion.out | 5 + 16 files changed, 563 insertions(+), 34 deletions(-) create mode 100644 stubs/blk-by-qdev-id.c create mode 100644 stubs/blk-exp-find-by-blk.c create mode 100755 tests/qemu-iotests/tests/filter-insertion create mode 100644 tests/qemu-iotests/tests/filter-insertion.out
Signature · 1 line
2.31.1