Skip to content

vmdk: convert error reporting

Fam Zheng qemu-devel 3 versions – Applied

Status from this message: Thanks, applied both to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyApplied
  2. v22 patches 1 replySuperseded
  3. v12 patches 2 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2vmdk: convert error code to use errpblock/vmdk.c tests/qemu-iotests/059.out+63 -590 replies
2/2vmdk: refuse enabling zeroed grain with flat imagesblock/vmdk.c tests/qemu-iotests/059 tests/qemu-iotests/059.out+12 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/2] vmdk: convert error reporting

The first patch converts "fprintf(stderr,..." to error_setg with errp, and fixes style of error message texts.

The second patch checks the compatibility of zeroed_grain flag and flat type and reports error if both are true.

v3: Update qemu-iotests.

v2: [01] More conversion of error messages, also catch error from
bdrv_{pread,pwrite} with error_setg_errno.

Fam Zheng (2):
vmdk: convert error code to use errp
vmdk: refuse enabling zeroed grain with flat images

 block/vmdk.c               | 120 ++++++++++++++++++++++++---------------------
 tests/qemu-iotests/059     |   4 ++
 tests/qemu-iotests/059.out |  10 ++--
 3 files changed, 75 insertions(+), 59 deletions(-)
Signature · 1 line
1.8.3.1