qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 0/6] block: bdrv_img_create(): propagate errors


From: Luiz Capitulino
Subject: [Qemu-devel] [PATCH v2 0/6] block: bdrv_img_create(): propagate errors
Date: Fri, 19 Oct 2012 11:27:59 -0300

By adding error propagation to bdrv_img_create() we improve error reporting
in qmp_transaction() and simplify qemu-img.c:img_create() a bit.

Please, check individual patches for details.

o v2

 - Fix small inconsistencies
 - Drop patches that moved the printing of the "Formatting" message to
   qemu-img

Luiz Capitulino (5):
  block: bdrv_img_create(): add Error ** argument
  qemu-img: img_create(): pass Error object to bdrv_img_create()
  qemu-img: img_create(): drop unneeded goto and ret variable
  qmp: qmp_transaction(): pass Error object to bdrv_img_create()
  block: bdrv_img_create(): drop unused error handling code

Paolo Bonzini (1):
  error: add error_set_errno and error_setg_errno

 block.c    | 60 +++++++++++++++++++++++++-----------------------------------
 block.h    |  6 +++---
 blockdev.c | 13 +++++++------
 error.c    | 28 ++++++++++++++++++++++++++++
 error.h    |  9 +++++++++
 qemu-img.c | 19 ++++++++++---------
 6 files changed, 82 insertions(+), 53 deletions(-)

-- 
1.7.12.315.g682ce8b



reply via email to

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