qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] vmdk: convert error reporting
@ 2013-10-11  7:43 Fam Zheng
  2013-10-11  7:43 ` [Qemu-devel] [PATCH v3 1/2] vmdk: convert error code to use errp Fam Zheng
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fam Zheng @ 2013-10-11  7:43 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, stefanha

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-11 10:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-11  7:43 [Qemu-devel] [PATCH v3 0/2] vmdk: convert error reporting Fam Zheng
2013-10-11  7:43 ` [Qemu-devel] [PATCH v3 1/2] vmdk: convert error code to use errp Fam Zheng
2013-10-11  7:43 ` [Qemu-devel] [PATCH v3 2/2] vmdk: refuse enabling zeroed grain with flat images Fam Zheng
2013-10-11 10:03 ` [Qemu-devel] [PATCH v3 0/2] vmdk: convert error reporting Kevin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).