Statistics
| Branch: | Revision:

root / tests / qemu-iotests / common.rc @ b3ce604e

History | View | Annotate | Download (7.3 kB)

# Date Author Comment
a5126c75 05/02/2012 07:39 pm Dong Xu Wang

qemu-iotests: ignore fragmentation information for qed

We added image fragmentation statistics functions to qemu-img several days
ago, those patches will cause "./check -qed" failed. This patch will ignore
fragmentation statistics information of qed format, and then "./check -qed"...

89004368 04/20/2012 04:57 pm Kevin Wolf

qemu-iotests: Add -o and make v3 the default for qcow2

This adds an -o option to qemu-iotests, which is an option string that
is passed through to qemu-img create -o... This allows testing different
subformat with a command like './check -qcow2 -o compat=0.10'....

7299550b 04/19/2012 04:48 pm Kevin Wolf

qemu-iotests: Always filter cluster_size out in _make_test_img

Some image formats do have a cluster size, others don't, but there are
tests that work with both sets of images and currently we get failures
because the qemu-img create output doesn't mention the cluster size for...

21af8148 04/05/2012 04:08 pm Stefan Weil

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 getopt
doesn't. Try "export POSIXLY_CORRECT=y" to get the POSIX
behaviour with GNU getopt, too.

Cc: Kevin Wolf <>...

bfe85248 02/23/2012 11:29 am Kevin Wolf

qemu-iotests: Update filter for default cluster size

Until recently, qemu-img create displayed cluster_size=0 for the default
cluster size. It is changed to display the real cluster size now, which results
in the cluster size not being filtered out any more....

f5a4bbd9 02/23/2012 11:29 am Stefan Hajnoczi

qemu-iotests: add support for qed format

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Christoph Hellwig <>

9cdfa1b3 02/23/2012 11:29 am MORITA Kazutaka

qemu-iotests: add support for rbd and sheepdog protocols

This patch introduces tests for protocols other than file, and
initially supports rbd and sheepdog.

Signed-off-by: MORITA Kazutaka <>
Signed-off-by: Christoph Hellwig <>

908eaf68 02/22/2012 05:17 pm Stefan Hajnoczi

qemu-iotests: explicitly use bash interpreter

The tests use bash language features like 'let', which aren't supported
by /bin/sh on systems that use a conservative shell like dash. This
patch changes the interpreter to /bin/bash.

Signed-off-by: Stefan Hajnoczi <>...

2557d865 02/22/2012 05:17 pm Kevin Wolf

qemu-iotests: simple backing file test

Signed-off-by: Kevin Wolf <>
Signed-off-by: Christoph Hellwig <>

e8c212d6 02/22/2012 05:17 pm Christoph Hellwig

qemu-iotests: replace FSF postal addresses with www.gnu.org links

Blue Swirl notices that we were using the old FSF post address in the
license boilerplates. Replace both the old and new address with links
to the gnu.org licenses homepage as suggested by Ben Pfaff....

3b5fe6e6 02/22/2012 05:17 pm Stefan Weil

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 <>
Signed-off-by: Christoph Hellwig <>

8fc1024c 02/22/2012 05:17 pm Kevin Wolf

qemu-iotests: align test requests according to cluster size

Change the io_test and io_test2 functions to take the cluster size of the image
and the number of test requests to issue. Tests are changed to specify a
cluster size (usually 4k), but expected test results stay the same for now...

e76a8e89 02/22/2012 05:17 pm Christoph Hellwig

qemu-iotests: make a few more tests generic

Pretend that a non-implemented check is always successful and thus allow
various tests that were qcow2-specific before to be generic.

Signed-off-by: Christoph Hellwig <>
Reviewed-by: Kevin Wolf <>

6bf19c94 02/22/2012 05:15 pm Christoph Hellwig

qemu-iotests: Initial import into the public repository.

Signed-off-by: Kevin Wolf <>