Hi, I just ran the qemu-iotests suite and found five failures in the vpc and qcow block types.
The following command was executed with sources and objects in tmpfs: for i in qcow2 qed qcow generic vmdk raw vpc vhdx vdi \ cow parallels cloop bochs; do ./check -c writeback -$i; done QEMU version: v2.1.0-233-g8e6e2c2 plus patch "qemu-iotests: Fix 028 reference output for qed"[1]. Please find the results of failing tests below (`-c writeback` does not affect the output). -- Kind regards, Peter https://lekensteyn.nl [1]: http://lists.gnu.org/archive/html/qemu-devel/2014-08/msg03270.html + ./check -vpc 004 006 QEMU -- /tmp/qcompile/tests/qemu-iotests/../../x86_64-softmmu/qemu-system-x86_64 QEMU_IMG -- /tmp/qcompile/tests/qemu-iotests/../../qemu-img QEMU_IO -- /tmp/qcompile/tests/qemu-iotests/../../qemu-io QEMU_NBD -- /tmp/qcompile/tests/qemu-iotests/../../qemu-nbd IMGFMT -- vpc IMGPROTO -- file PLATFORM -- Linux/x86_64 antartica 3.16.0-rc7-rtl-00001-g3f4adc1 SOCKET_SCM_HELPER -- /tmp/qcompile/tests/qemu-iotests/socket_scm_helper 004 0s ... - output mismatch (see 004.out.bad) --- /tmp/qemu/tests/qemu-iotests/004.out 2013-08-13 17:27:42.097765037 +0200 +++ 004.out.bad 2014-08-19 21:57:33.125799947 +0200 @@ -9,7 +9,8 @@ write failed: Input/output error write at image boundary -write failed: Input/output error +wrote 4096/4096 bytes at offset 134217728 +4 KiB, 1 ops; 0.0002 sec (17.675 MiB/sec and 4524.8869 ops/sec) write past image boundary write failed: Input/output error @@ -28,7 +29,8 @@ read failed: Input/output error read at image boundary -read failed: Input/output error +read 4096/4096 bytes at offset 134217728 +4 KiB, 1 ops; 0.0001 sec (27.316 MiB/sec and 6993.0070 ops/sec) read past image boundary read failed: Input/output error 006 - output mismatch (see 006.out.bad) --- /tmp/qemu/tests/qemu-iotests/006.out 2013-08-13 17:27:42.097765037 +0200 +++ 006.out.bad 2014-08-19 21:57:33.205799949 +0200 @@ -1,6 +1,5 @@ QA output created by 006 creating 128GB image -qemu-img: The image size is too large for file format 'vpc' Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=137438953472 *** done Failures: 004 006 Failed 2 of 2 tests + ./check -qcow 003 042 048 QEMU -- /tmp/qcompile/tests/qemu-iotests/../../x86_64-softmmu/qemu-system-x86_64 QEMU_IMG -- /tmp/qcompile/tests/qemu-iotests/../../qemu-img QEMU_IO -- /tmp/qcompile/tests/qemu-iotests/../../qemu-io QEMU_NBD -- /tmp/qcompile/tests/qemu-iotests/../../qemu-nbd IMGFMT -- qcow IMGPROTO -- file PLATFORM -- Linux/x86_64 antartica 3.16.0-rc7-rtl-00001-g3f4adc1 SOCKET_SCM_HELPER -- /tmp/qcompile/tests/qemu-iotests/socket_scm_helper 003 1s ... - output mismatch (see 003.out.bad) --- /tmp/qemu/tests/qemu-iotests/003.out 2013-08-13 17:27:42.097765037 +0200 +++ 003.out.bad 2014-08-19 21:57:35.597799994 +0200 @@ -6,10 +6,12 @@ 128 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) == rewriting whole image == +main-loop: WARNING: I/O thread spun for 1000 iterations wrote 134217728/134217728 bytes at offset 0 128 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) == verify pattern == +main-loop: WARNING: I/O thread spun for 1000 iterations read 134217728/134217728 bytes at offset 0 128 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 042 0s ... - output mismatch (see 042.out.bad) --- /tmp/qemu/tests/qemu-iotests/042.out 2013-08-13 17:27:42.189766279 +0200 +++ 042.out.bad 2014-08-19 21:57:35.681799995 +0200 @@ -2,14 +2,18 @@ == Creating zero size image == Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=0 -No errors were found on the image. +qemu-img: Could not open 'TEST_DIR/t.qcow': Image size is too small (must be at least 2 bytes) == Converting the image == -No errors were found on the image. +qemu-img: Could not open '/tmp/qcompile/tests/qemu-iotests/scratch/t.qcow.orig': Image size is too small (must be at least 2 bytes) +qemu-img: Could not open '/tmp/qcompile/tests/qemu-iotests/scratch/t.qcow.orig' +qemu-img: Could not open 'TEST_DIR/t.qcow': Could not open 'TEST_DIR/t.qcow': No such file or directory == Converting the image, compressed == -No errors were found on the image. +qemu-img: Could not open 'TEST_DIR/t.qcow': Could not open 'TEST_DIR/t.qcow': No such file or directory == Rebasing the image == -No errors were found on the image. +qemu-img: Could not open '/tmp/qcompile/tests/qemu-iotests/scratch/t.qcow': Could not open '/tmp/qcompile/tests/qemu-iotests/scratch/t.qcow': No such file or directory +qemu-img: Could not open '/tmp/qcompile/tests/qemu-iotests/scratch/t.qcow': Could not open '/tmp/qcompile/tests/qemu-iotests/scratch/t.qcow': No such file or directory +qemu-img: Could not open 'TEST_DIR/t.qcow': Could not open 'TEST_DIR/t.qcow': No such file or directory *** done 048 0s ... - output mismatch (see 048.out.bad) --- /tmp/qemu/tests/qemu-iotests/048.out 2014-02-19 11:25:09.478523609 +0100 +++ 048.out.bad 2014-08-19 21:57:36.325800007 +0200 @@ -12,12 +12,11 @@ Images are identical. 0 0 -Image resized. -Warning: Image size mismatch! +qemu-img: This image does not support resize +Images are identical. +0 Images are identical. 0 -Strict mode: Image size mismatch! -1 === IO: pattern 67 wrote 4096/4096 bytes at offset 1228800 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) Failures: 003 042 048 Failed 3 of 3 tests