block: add support for --image-opts in block I/O tests
commit076003f526cebbf5bbef826f752019da5d2c3e89
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 10 May 2016 16:11:27 +0000 (10 17:11 +0100)
committerMax Reitz <mreitz@redhat.com>
Thu, 12 May 2016 13:33:24 +0000 (12 15:33 +0200)
tree9ae26099af9695c6c4deb782a9b62e3dea6e7833
parentc2e001cc829031f9c2e2c364c77861e3f75ac871
block: add support for --image-opts in block I/O tests

Currently all block tests use the traditional syntax for images
just specifying a filename. To support the LUKS driver without
resorting to JSON, the tests need to be able to use the new
--image-opts argument to qemu-img and qemu-io.

This introduces a new env variable IMGOPTSSYNTAX. If this is
set to 'true', then qemu-img/qemu-io should use --image-opts.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1462896689-18450-2-git-send-email-berrange@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/039.out
tests/qemu-iotests/061.out
tests/qemu-iotests/137.out
tests/qemu-iotests/common
tests/qemu-iotests/common.config
tests/qemu-iotests/common.rc