OSDN Git Service

qemu-iotests: Use qemu-io -f $IMGFMT
authorKevin Wolf <kwolf@redhat.com>
Thu, 20 Nov 2014 15:27:07 +0000 (16:27 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 10 Dec 2014 09:31:12 +0000 (10:31 +0100)
commit8f9e835fd2e687d2bfe936819c3494af4343614d
tree03199674e57f9fc28c9c3ffe4cbb7fbf837a4755
parentbe6273da9e31d30fc95a65b09a0b819a89f1cc62
qemu-iotests: Use qemu-io -f $IMGFMT

This patch changes $QEMU_IO so that all tests by default pass a format
argument to qemu-io.

There are a few cases where -f $IMGFMT is not wanted because it selects
the wrong driver or json: filenames including a driver are used. They
are changed to use $QEMU_IO_PROG, which doesn't include any options.

Tests 071 and 081 have output changes because now the actual request
fails instead of reading the 2k probing buffer.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1416497234-29880-3-git-send-email-kwolf@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/016
tests/qemu-iotests/048
tests/qemu-iotests/058
tests/qemu-iotests/071
tests/qemu-iotests/071.out
tests/qemu-iotests/077
tests/qemu-iotests/081
tests/qemu-iotests/081.out
tests/qemu-iotests/089
tests/qemu-iotests/common