block: Overriding the backing file with -drive
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest15 patches 19 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
14 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/15 | |
| 2/15 | R-b |
| 3/15 | R-b |
| 4/15 | R-b |
| 5/15 | R-b |
| 6/15 | R-b |
| 7/15 | R-b |
| 8/15 | R-b |
| 9/15 | R-b |
| 10/15 | R-b |
| 11/15 | R-b |
| 12/15 | R-b |
| 13/15 | R-b |
| 14/15 | R-b R-b |
| 15/15 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 00/15] block: Overriding the backing file with -drive
This is the next part of the driver-specific options. Looks like we're getting closer to pass file descriptors for the whole backing file chain. In fact, I hope we're now only lacking QMP support before we can actually use it. :-)
This series adds support for the backing.* options namespace, and allows to use the file.filename option to configure the filename string for non-top-level BlockDriverStates. In the end you can use things like:
-drive file=test.qcow2,backing.file.filename=/dev/fdset/1, backing.backing.file.driver=nbd,backing.backing.file.host=localhost
On another note, I'm still not sure whether I should leave all of this work enabled for 1.5, or if we wouldn't be better off with disabling it for the release so that we have some additional months before we commit to the interface. Any opinions?
Kevin Wolf (15):
block: Fail gracefully when using a format driver on protocol level
block: Add driver-specific options for backing files
block: Enable filename option
raw-posix: Use bdrv_open options instead of filename
raw-win32: Use bdrv_open options instead of filename
blkdebug: Use bdrv_open options instead of filename
blkverify: Use bdrv_open options instead of filename
curl: Use bdrv_open options instead of filename
gluster: Use bdrv_open options instead of filename
iscsi: Use bdrv_open options instead of filename
rbd: Use bdrv_open options instead of filename
sheepdog: Use bdrv_open options instead of filename
vvfat: Use bdrv_open options instead of filename
block: Remove filename parameter from .bdrv_file_open()
block: Allow overriding backing.file.filename
block.c | 65 ++++++++++++-- block/blkdebug.c | 102 ++++++++++++++++------ block/blkverify.c | 93 ++++++++++++++++---- block/curl.c | 152 +++++++++++++++++++++----------- block/gluster.c | 34 +++++++- block/iscsi.c | 40 ++++++++- block/mirror.c | 2 +- block/nbd.c | 3 +- block/raw-posix.c | 70 ++++++++++----- block/raw-win32.c | 59 ++++++++++--- block/rbd.c | 32 ++++++- block/sheepdog.c | 33 ++++++- block/vvfat.c | 211 +++++++++++++++++++++++++++++++++------------ include/block/block.h | 2 +- include/block/block_int.h | 3 +- tests/qemu-iotests/051 | 7 ++ tests/qemu-iotests/051.out | 10 +++ 17 files changed, 713 insertions(+), 205 deletions(-)
Signature · 1 line
1.8.1.4