iotests: use qemu_img_json() when applicable
commit0f7d7d72aa99c8e48bbbf37262a9c66c83113f76
authorJohn Snow <jsnow@redhat.com>
Mon, 21 Mar 2022 20:16:07 +0000 (21 16:16 -0400)
committerHanna Reitz <hreitz@redhat.com>
Tue, 22 Mar 2022 09:14:29 +0000 (22 10:14 +0100)
treef6d9b712d25bf6b61481f6b4f3b3472312b369e6
parent29768d04afe5c87272e8fb7de1290f7a4f530785
iotests: use qemu_img_json() when applicable

qemu_img_json() gives better diagnostic information on failure.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220321201618.903471-8-jsnow@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
tests/qemu-iotests/iotests.py