Skip to content

deal with BDRV_BLOCK_RAW

Vladimir Sementsov-Ogievskiy qemu-devel 1 version Applied

Status from this message: Thanks, applied to my block-next branch:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 35 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2block/raw-format: switch to BDRV_BLOCK_DATA with BDRV_BLOCK_RECURSEblock/raw-format.c+1 -116 replies
2/2iotests: test mirroring qcow2 under raw formattests/qemu-iotests/263 tests/qemu-iotests/263.out tests/qemu-iotests/group+59 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] deal with BDRV_BLOCK_RAW

Hi all!

I'm not sure, is it a bug or a feature, but using qcow2 under raw is broken. It should be either fixed like I propose (by Max's suggestion) or somehow forbidden (just forbid backing-file supporting node to be file child of raw-format node).

Vladimir Sementsov-Ogievskiy (2):
block/raw-format: switch to BDRV_BLOCK_DATA with BDRV_BLOCK_RECURSE
iotests: test mirroring qcow2 under raw format

 block/raw-format.c         |  2 +-
 tests/qemu-iotests/263     | 46 ++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/263.out | 12 ++++++++++
 tests/qemu-iotests/group   |  1 +
 4 files changed, 60 insertions(+), 1 deletion(-)
 create mode 100755 tests/qemu-iotests/263
 create mode 100644 tests/qemu-iotests/263.out
Signature · 1 line
2.18.0