Statistics
| Branch: | Revision:

root / tests @ 4f8a066b

Latest revisions

# Date Author Comment
2cdfb123 10/11/2013 05:50 pm Wenchao Xia

build: add command check-clean

This command will package the clean operations in tests. Now root Makefile
simply calls the command and do not care the details of it any more. Original
the built binaries for test will not be removed, now they will be deleted...

4823970b 10/11/2013 05:50 pm Fam Zheng

vmdk: convert error code to use errp

Convert "fprintf(stderr,..." and standardize error messages:

Remove a few local_error's and use errp.

Remove "VMDK:" or "Vmdk:" prefixes in error message and fix to upper
case.

Signed-off-by: Fam Zheng <>...

52c8d629 10/11/2013 05:50 pm Fam Zheng

vmdk: refuse enabling zeroed grain with flat images

This is a header flag and we needs sparse for the header.

Signed-off-by: Fam Zheng <>
Signed-off-by: Kevin Wolf <>

4f8a066b 10/11/2013 05:50 pm Kevin Wolf

blockdev: Remove IF_* check for read-only blockdev_init

IF_NONE allows read-only, which makes forbidding it in this place
for other types pretty much pointless.

Instead, make sure that all devices for which the check would have
errored out check in their init function that they don't get a read-only...

5dd75f9a 10/11/2013 05:50 pm Fam Zheng

qemu-iotests: move blank lines of output in case 059

Move the blank line to above the test step banner, so it looks clearer
in blocks.

Signed-off-by: Fam Zheng <>
Signed-off-by: Kevin Wolf <>

e428e439 10/11/2013 05:50 pm Max Reitz

block/raw-posix: Employ error parameter

Make use of the error parameter in the opening and creating functions in
block/raw-posix.c.

Signed-off-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

22ee5a55 10/11/2013 05:50 pm Wenchao Xia

tests: build the helper program by default

Usually we may configure and make, then goto ./tests/qemu-iotest,
check. In this case an error will happen since helper program
was not built. This patch simply build it by default. A better way
may be introducing Makefile in ./tests/qemu-iotest, but it is more...

975a93c0 10/11/2013 05:49 pm Max Reitz

qemu-iotests: Discard preallocated zero clusters

Add a new test case for discarding preallocated zero clusters; doing
this should not result in any leaks.

Signed-off-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

89e91181 10/11/2013 05:49 pm Jeff Cody

block: qemu-iotests for vhdx, read sample dynamic image

This adds the VHDX format to the qemu-iotests format, and adds
a read test. The test reads from an existing sample image, that
was created with Hyper-V under Windwos Server 2012.

The image file is a 1GB dynamic image, with 32MB blocks....

3677e6f6 10/11/2013 05:49 pm Max Reitz

qemu-iotests: Additional info from qemu-img info

Add a test for the additional information now provided by qemu-img info
when used on qcow2 images. It also tests the qemu QMP output from the
query-block command when running qemu with different runtime options...

View revisions

Also available in: Atom