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