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

Kevin Wolf posted 8 patches 6 years, 1 month ago
Failed in applying to current master (apply log)
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(-)
[Qemu-devel] [PATCH v2 0/8] block: .bdrv_co_create for format drivers
Posted by Kevin Wolf 6 years, 1 month ago
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(-)

-- 
2.13.6


Re: [Qemu-devel] [PATCH v2 0/8] block: .bdrv_co_create for format drivers
Posted by Kevin Wolf 6 years, 1 month ago
Am 13.03.2018 um 15:47 hat Kevin Wolf geschrieben:
> 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.

Applied to the block branch.

Kevin