Skip to content

block: .bdrv_co_create for format drivers

Kevin Wolf qemu-devel 2 versions – Applied

Status from this message: Applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 5 repliesApplied
  2. v17 patches 18 repliesSuperseded

Changes in v2 from the cover letter

- Rebased, the vdi patch consists just of some cosmetic cleanups now
- vhdx, vpc: Don't do any silent rounding in .bdrv_co_create, error out if the passed size isn't properly aligned yet. The legacy code paths compensate for this.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/8parallels: Support .bdrv_co_createblock/parallels.c qapi/block-core.json+168 -490 replies
2/8qemu-iotests: Enable write tests for parallelstests/qemu-iotests/181 tests/qemu-iotests/check+1 -20 replies
3/8qcow: Support .bdrv_co_createblock/qcow.c qapi/block-core.json+150 -670 replies
4/8qed: Support .bdrv_co_createblock/qed.c qapi/block-core.json+162 -670 replies
5/8vdi: Make comments consistent with other driversblock/vdi.c+9 -31 reply
6/8vhdx: Support .bdrv_co_createblock/vhdx.c qapi/block-core.json+203 -531 reply
7/8vpc: Support .bdrv_co_createblock/vpc.c qapi/block-core.json+147 -381 reply
8/8vpc: Require aligned size in .bdrv_co_createblock/vpc.c+82 -311 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchMax ReitzJeff Cody
1/8R-b R-b
2/8R-b R-b
3/8R-b R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/8] block: .bdrv_co_create for format drivers

This series adds a .bdrv_co_create implementation to almost all format drivers that support creating images where its still missing. The only exception is VMDK because its support for extents will make the QAPI design a bit more complicated.

The other format driver not covered in this series are qcow2 (already merged) and luks (already posted in a separate series).

v2:
- Rebased, the vdi patch consists just of some cosmetic cleanups now
- vhdx, vpc: Don't do any silent rounding in .bdrv_co_create, error out if the passed size isn't properly aligned yet. The legacy code paths compensate for this.

Kevin Wolf (8):
parallels: Support .bdrv_co_create
qemu-iotests: Enable write tests for parallels
qcow: Support .bdrv_co_create
qed: Support .bdrv_co_create
vdi: Make comments consistent with other drivers
vhdx: Support .bdrv_co_create
vpc: Support .bdrv_co_create
vpc: Require aligned size in .bdrv_co_create

 qapi/block-core.json     | 137 ++++++++++++++++++++++++++-
 block/parallels.c        | 199 ++++++++++++++++++++++++++++----------
 block/qcow.c             | 196 +++++++++++++++++++++++++-------------
 block/qed.c              | 204 ++++++++++++++++++++++++++-------------
 block/vdi.c              |  12 ++-
 block/vhdx.c             | 216 ++++++++++++++++++++++++++++++++----------
 block/vpc.c              | 241 ++++++++++++++++++++++++++++++++++++-----------
 tests/qemu-iotests/181   |   2 +-
 tests/qemu-iotests/check |   1 -
 9 files changed, 910 insertions(+), 298 deletions(-)
Signature · 1 line
2.13.6