qemu-iotests: Correct 026 output
Because l2_allocate now frees the unused L2 cluster on error, theaccording test cases in 026 don't result in one leaked cluster anymore.
Signed-off-by: Max Reitz <mreitz@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qemu-iotests: Preallocated zero clusters in 061
Add a test case for zero cluster expansion on an image completely filledwith preallocated zero clusters to test 061.
Signed-off-by: Max Reitz <mreitz@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-iotests: Quote $TEST_IMG* and $TEST_DIR usage
A lot of image filename and paths are used unquoted. Quote these tomake sure that directories / filenames with spaces are not problematic.
Signed-off-by: Jeff Cody <jcody@redhat.com>Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>...
qemu-iotests: Add basic ability to use binary sample images
For image formats that are not "QEMU native", but supported forcompatibility, it is useful to verify that an image created withthe 'gold standard' native tool can be read / written to successfully...
qemu-iotests: fix qmp.py search path
QMP/qmp.py is renamed to scripts/qmp/qmp.py, fix the search path in iotests.py.
Signed-off-by: Fam Zheng <famz@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-iotests: fix test case 059
Since commit "block: Error parameter for open functions", error outputis more verbose. Update test case output file to follow the change.
qemu-iotests: add monolithicFlat creation test to 059
qemu-iotests: add test for backing file overriding
Test that backing.file.filename option can be parsed and override thebacking file from image (backing file reflected with "info block").
qemu-iotests: Do not execute 052 with -nocache
Test 052 uses qemu-io -s which will result in bdrv_open trying to createa temporary snapshot file in /tmp. However, since O_DIRECT and tmpfsdo not work well together, disable this test for -nocache.
Signed-off-by: Max Reitz <mreitz@redhat.com>...
Merge remote-tracking branch 'stefanha/block' into staging
View revisions
Also available in: Atom