build: add command check-clean
This command will package the clean operations in tests. Now root Makefilesimply calls the command and do not care the details of it any more. Originalthe built binaries for test will not be removed, now they will be deleted...
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 uppercase.
Signed-off-by: Fam Zheng <famz@redhat.com>...
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 <famz@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev: Remove IF_* check for read-only blockdev_init
IF_NONE allows read-only, which makes forbidding it in this placefor other types pretty much pointless.
Instead, make sure that all devices for which the check would haveerrored out check in their init function that they don't get a read-only...
qemu-iotests: move blank lines of output in case 059
Move the blank line to above the test step banner, so it looks clearerin blocks.
block/raw-posix: Employ error parameter
Make use of the error parameter in the opening and creating functions inblock/raw-posix.c.
Signed-off-by: Max Reitz <mreitz@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
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 programwas not built. This patch simply build it by default. A better waymay be introducing Makefile in ./tests/qemu-iotest, but it is more...
qemu-iotests: Discard preallocated zero clusters
Add a new test case for discarding preallocated zero clusters; doingthis should not result in any leaks.
block: qemu-iotests for vhdx, read sample dynamic image
This adds the VHDX format to the qemu-iotests format, and addsa read test. The test reads from an existing sample image, thatwas created with Hyper-V under Windwos Server 2012.
The image file is a 1GB dynamic image, with 32MB blocks....
qemu-iotests: Additional info from qemu-img info
Add a test for the additional information now provided by qemu-img infowhen used on qcow2 images. It also tests the qemu QMP output from thequery-block command when running qemu with different runtime options...
View revisions
Also available in: Atom