Re: [Qemu-devel] [PATCH 1/2] qemu-img: Move img_open error reporting to callers

2018-01-05 Thread Eric Blake
On 01/05/2018 12:55 AM, Fam Zheng wrote: > In the next patch one caller will have a special error handling logic > than reporting it, add "Error **" parameters to functions and give s/than/rather than/ s/it, add/it. Add/ > control back to callers, to make that possible. > > Update iotests outpu

[Qemu-devel] [PATCH 1/2] qemu-img: Move img_open error reporting to callers

2018-01-04 Thread Fam Zheng
In the next patch one caller will have a special error handling logic than reporting it, add "Error **" parameters to functions and give control back to callers, to make that possible. Update iotests output accordingly. Signed-off-by: Fam Zheng --- qemu-img.c | 115 +