]> git.proxmox.com Git - mirror_qemu.git/commit
iotests: change supports_quorum to use qemu_img
authorJohn Snow <jsnow@redhat.com>
Mon, 21 Mar 2022 20:16:11 +0000 (16:16 -0400)
committerHanna Reitz <hreitz@redhat.com>
Tue, 22 Mar 2022 09:14:35 +0000 (10:14 +0100)
commit78d04761294c29f115bf8e3a53f4e04521069394
treebc2bdf98b1ff314c05e754d357bf2640e3226f12
parent1670ae7af668958e76be6749f1f729d6dc9861e9
iotests: change supports_quorum to use qemu_img

Similar to other recent changes: use the qemu_img() invocation that
supports throwing loud, nasty exceptions when it fails for surprising
reasons.

(Why would "--help" ever fail? I don't know, but eliminating *all* calls
to qemu-img that do not go through qemu_img() is my goal, so
qemu_img_pipe() has to be removed.)

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