On 03/09/2018 04:41 AM, Amador Pahim wrote:
> Using bochs or cloop, qemu-img will fail with:
>
> Format driver 'bochs' does not support image creation
>
> Signed-off-by: Amador Pahim <apahim@redhat.com>
> ---
> tests/qemu-iotests/205 | 3 +++
> 1 file changed, 3 insertions(+)
Reviewed-by: Eric Blake <eblake@redhat.com>
>
> diff --git a/tests/qemu-iotests/205 b/tests/qemu-iotests/205
> index e7b2eae51d..fff9be97d2 100644
> --- a/tests/qemu-iotests/205
> +++ b/tests/qemu-iotests/205
> @@ -24,6 +24,9 @@ import iotests
> import time
> from iotests import qemu_img_create, qemu_io, filter_qemu_io, QemuIoInteractive
>
> +
> +iotests.verify_image_format(unsupported_fmts=['bochs', 'cloop'])
> +
> nbd_sock = 'nbd_sock'
> nbd_uri = 'nbd+unix:///exp?socket=' + nbd_sock
> disk = os.path.join(iotests.test_dir, 'disk')
>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org