This series is a first step to propagate errors from bdrv_open(), but it also improves qmp_transaction() error messages on bdrv_img_create() failures plus some other improvements.
Please, check individual patches for details. o From the RFC - Better testing - improved changelogs - small simplifications Luiz Capitulino (7): block: bdrv_img_create(): add param_list argument block: bdrv_img_create(): move parameter list printing to qemu-img block: bdrv_img_create(): add Error ** argument qemu-img: img_create(): use Error object qemu-img: img_create(): simplify 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 | 69 +++++++++++++++++++++++++++----------------------------------- block.h | 7 ++++--- blockdev.c | 13 ++++++------ error.c | 28 +++++++++++++++++++++++++ error.h | 9 ++++++++ qemu-img.c | 26 +++++++++++++++-------- 6 files changed, 95 insertions(+), 57 deletions(-) -- 1.7.12.315.g682ce8b