Re: [PATCH v4 10/18] iotests: add qemu_img_map() function

2022-03-21 Thread John Snow
On Mon, Mar 21, 2022, 10:24 AM Eric Blake wrote: > On Thu, Mar 17, 2022 at 07:49:29PM -0400, John Snow wrote: > > Add a qemu_img_map() function by analogy with qemu_img_measure(), > > qemu_img_check(), and qemu_img_info() that all return JSON information. > > > > Replace calls to

Re: [PATCH v4 10/18] iotests: add qemu_img_map() function

2022-03-21 Thread Eric Blake
On Thu, Mar 17, 2022 at 07:49:29PM -0400, John Snow wrote: > Add a qemu_img_map() function by analogy with qemu_img_measure(), > qemu_img_check(), and qemu_img_info() that all return JSON information. > > Replace calls to qemu_img_pipe('map', '--output=json', ...) with this > new function, which

[PATCH v4 10/18] iotests: add qemu_img_map() function

2022-03-17 Thread John Snow
Add a qemu_img_map() function by analogy with qemu_img_measure(), qemu_img_check(), and qemu_img_info() that all return JSON information. Replace calls to qemu_img_pipe('map', '--output=json', ...) with this new function, which provides better diagnostic information on failure. Note: The output