[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 0/7] blockdev-replace
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[PATCH v6 0/7] blockdev-replace |
Date: |
Wed, 22 Feb 2023 21:55:45 +0300 |
Hi all!
That's a non-transactional part of
"[PATCH v5 00/45] Transactional block-graph modifying API".
To simplify things, let's postpone transaction support and start from
blockdev-replace single command. That still allows to insert filters
here and there!)
That is not related and not based on recent
"[PATCH v7 0/5] block: refactor blockdev transactions". The series may
be handled in any order.
Vladimir Sementsov-Ogievskiy (7):
block-backend: blk_root(): drop const specifier on return type
block/export: add blk_by_export_id()
block: make bdrv_find_child() function public
qapi: add x-blockdev-replace command
block: bdrv_get_xdbg_block_graph(): report export ids
iotests.py: introduce VM.assert_edges_list() method
iotests: add filter-insertion
qapi/block-core.json | 62 +++++
include/block/block_int-io.h | 1 +
include/block/export.h | 1 +
include/sysemu/block-backend-global-state.h | 3 +-
block.c | 17 ++
block/block-backend.c | 2 +-
block/export/export.c | 31 +++
blockdev.c | 70 ++++-
stubs/blk-by-qdev-id.c | 9 +
stubs/blk-exp-find-by-blk.c | 9 +
stubs/meson.build | 2 +
tests/qemu-iotests/iotests.py | 17 ++
tests/qemu-iotests/tests/filter-insertion | 257 ++++++++++++++++++
tests/qemu-iotests/tests/filter-insertion.out | 5 +
14 files changed, 470 insertions(+), 16 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
--
2.34.1
- [PATCH v6 0/7] blockdev-replace,
Vladimir Sementsov-Ogievskiy <=
- [PATCH v6 1/7] block-backend: blk_root(): drop const specifier on return type, Vladimir Sementsov-Ogievskiy, 2023/02/22
- [PATCH v6 2/7] block/export: add blk_by_export_id(), Vladimir Sementsov-Ogievskiy, 2023/02/22
- [PATCH v6 3/7] block: make bdrv_find_child() function public, Vladimir Sementsov-Ogievskiy, 2023/02/22
- [PATCH v6 5/7] block: bdrv_get_xdbg_block_graph(): report export ids, Vladimir Sementsov-Ogievskiy, 2023/02/22
- [PATCH v6 4/7] qapi: add x-blockdev-replace command, Vladimir Sementsov-Ogievskiy, 2023/02/22
- [PATCH v6 7/7] iotests: add filter-insertion, Vladimir Sementsov-Ogievskiy, 2023/02/22
- [PATCH v6 6/7] iotests.py: introduce VM.assert_edges_list() method, Vladimir Sementsov-Ogievskiy, 2023/02/22