History | View | Annotate | Download (7.3 kB)
qemu-iotests: ignore fragmentation information for qed
We added image fragmentation statistics functions to qemu-img several daysago, those patches will cause "./check -qed" failed. This patch will ignorefragmentation statistics information of qed format, and then "./check -qed"...
qemu-iotests: Add -o and make v3 the default for qcow2
This adds an -o option to qemu-iotests, which is an option string thatis passed through to qemu-img create -o... This allows testing differentsubformat with a command like './check -qcow2 -o compat=0.10'....
qemu-iotests: Always filter cluster_size out in _make_test_img
Some image formats do have a cluster size, others don't, but there aretests that work with both sets of images and currently we get failuresbecause the qemu-img create output doesn't mention the cluster size for...
qemu-iotests: Fix call syntax for qemu-img
qemu-img requires first options, then file name, then size.
GNU getopt also allows options at the end, but POSIX getoptdoesn't. Try "export POSIXLY_CORRECT=y" to get the POSIXbehaviour with GNU getopt, too.
Cc: Kevin Wolf <kwolf@redhat.com>...
qemu-iotests: Update filter for default cluster size
Until recently, qemu-img create displayed cluster_size=0 for the defaultcluster size. It is changed to display the real cluster size now, which resultsin the cluster size not being filtered out any more....
qemu-iotests: add support for qed format
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>Signed-off-by: Christoph Hellwig <hch@lst.de>
qemu-iotests: add support for rbd and sheepdog protocols
This patch introduces tests for protocols other than file, andinitially supports rbd and sheepdog.
Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>Signed-off-by: Christoph Hellwig <hch@lst.de>
qemu-iotests: explicitly use bash interpreter
The tests use bash language features like 'let', which aren't supportedby /bin/sh on systems that use a conservative shell like dash. Thispatch changes the interpreter to /bin/bash.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>...
qemu-iotests: simple backing file test
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Christoph Hellwig <hch@lst.de>
qemu-iotests: replace FSF postal addresses with www.gnu.org links
Blue Swirl notices that we were using the old FSF post address in thelicense boilerplates. Replace both the old and new address with linksto the gnu.org licenses homepage as suggested by Ben Pfaff....
qemu-iotests: add support for vdi format "static" option
VDI supports an image option 'static'.Ignore "static=off" from qemu-img output.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Christoph Hellwig <hch@lst.de>
qemu-iotests: align test requests according to cluster size
Change the io_test and io_test2 functions to take the cluster size of the imageand the number of test requests to issue. Tests are changed to specify acluster size (usually 4k), but expected test results stay the same for now...
qemu-iotests: make a few more tests generic
Pretend that a non-implemented check is always successful and thus allowvarious tests that were qcow2-specific before to be generic.
Signed-off-by: Christoph Hellwig <hch@lst.de>Reviewed-by: Kevin Wolf <kwolf@redhat.com>
qemu-iotests: Initial import into the public repository.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>