[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Kevin Wolf
Subject: [Qemu-block] [PATCH v2 0/8] block: .bdrv_co_create for format drivers
Date: Tue, 13 Mar 2018 15:47:22 +0100

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).

- 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(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]