Statistics
| Branch: | Revision:

root / tests / qemu-iotests @ b59b3d57

Name Size
  sample_images
.gitignore 113 Bytes
001 1.5 kB
001.out 472 Bytes
002 2.5 kB
002.out 1.9 kB
003 1.9 kB
003.out 713 Bytes
004 2.3 kB
004.out 947 Bytes
005 1.8 kB
005.out 327 Bytes
006 1.2 kB
006.out 178 Bytes
007 1.5 kB
007.out 260 Bytes
008 1.5 kB
008.out 472 Bytes
009 1.4 kB
009.out 566 Bytes
010 1.5 kB
010.out 757 Bytes
011 1.7 kB
011.out 2.1 kB
012 1.4 kB
012.out 238 Bytes
013 2.3 kB
013.out 2.2 MB
014 1.8 kB
014.out 3.2 MB
015 2.4 kB
015.out 658 Bytes
016 1.7 kB
016.out 783 Bytes
017 2.4 kB
017.out 54.9 kB
018 2.5 kB
018.out 54.9 kB
019 3.5 kB
019.out 82.6 kB
020 2.5 kB
020.out 54.9 kB
021 1.5 kB
021.out 1.9 kB
022 1.5 kB
022.out 452.6 kB
023 2.8 kB
023.out 1.3 MB
024 4.2 kB
024.out 6.2 kB
025 1.7 kB
025.out 779 Bytes
026 3.9 kB
026.out 22.3 kB
026.out.nocache 22.8 kB
027 2.2 kB
027.out 764 Bytes
028 2.5 kB
028.out 24.3 kB
029 1.6 kB
029.out 404 Bytes
030 19.6 kB
030.out 102 Bytes
031 2 kB
031.out 5.4 kB
032 1.8 kB
032.out 3.7 kB
033 1.9 kB
033.out 1 kB
034 3.5 kB
034.out 3.3 kB
035 1.6 kB
035.out 19.3 kB
036 1.6 kB
036.out 1.4 kB
037 3.6 kB
037.out 32.3 kB
038 3.2 kB
038.out 46 kB
039 3.4 kB
039.out 1.9 kB
040 11 kB
040.out 105 Bytes
041 27.9 kB
041.out 116 Bytes
042 1.7 kB
042.out 351 Bytes
043 2.3 kB
043.out 2.3 kB
044 3.7 kB
044.out 234 Bytes
045 7.1 kB
045.out 100 Bytes
046 5.7 kB
046.out 12 kB
047 1.6 kB
047.out 1.1 kB
048 2.6 kB
048.out 2.2 kB
049 3.3 kB
049.out 10.7 kB
050 1.8 kB
050.out 673 Bytes
051 5.3 kB
051.out 11.1 kB
052 1.5 kB
052.out 470 Bytes
053 1.7 kB
053.out 498 Bytes
054 1.3 kB
054.out 422 Bytes
055 10.5 kB
055.out 103 Bytes
056 3.4 kB
056.out 90 Bytes
057 9.5 kB
057.out 101 Bytes
059 2.2 kB
059.out 1 kB
060 4.8 kB
060.out 2.9 kB
061 7.4 kB
061.out 12.8 kB
062 1.6 kB
062.out 281 Bytes
063 2.5 kB
063.out 468 Bytes
064 2.1 kB
064.out 1.1 kB
065 4.3 kB
065.out 96 Bytes
066 1.6 kB
066.out 473 Bytes
067 3.3 kB
067.out 9.2 kB
068 1.7 kB
068.out 510 Bytes
069 1.5 kB
069.out 402 Bytes
070 1.9 kB
070.out 249 Bytes
073 4.8 kB
073.out 4.6 kB
COPYING 17.6 kB
Makefile 113 Bytes
README 693 Bytes
check 7.2 kB
common 8.8 kB
common.config 3.7 kB
common.filter 4.2 kB
common.pattern 4.8 kB
common.rc 11 kB
group 1.2 kB
iotests.py 11.1 kB
qcow2.py 7.1 kB
qed.py 7 kB
socket_scm_helper.c 3 kB

Latest revisions

# Date Author Comment
5b43dbb6 11/29/2013 02:40 pm Fam Zheng

qemu-iotests: Drop local version of cancel_and_wait from 040

iotests.py already has one.

Signed-off-by: Fam Zheng <>
Signed-off-by: Stefan Hajnoczi <>

3cf53c77 11/29/2013 02:40 pm Fam Zheng

qemu-iotest: Add pause_drive and resume_drive methods

They wrap blkdebug "break" and "remove_break".

Add optional argument "resume" to cancel_and_wait().

Signed-off-by: Fam Zheng <>
Signed-off-by: Stefan Hajnoczi <>

b59b3d57 11/29/2013 02:40 pm Fam Zheng

qemu-iotests: Make test case 030, 040 and 055 deterministic

Pause the drive and start the block job, so we won't miss the block job.

Signed-off-by: Fam Zheng <>
Signed-off-by: Stefan Hajnoczi <>

171d6431 11/27/2013 05:53 pm Max Reitz

qemu-iotests: Fix test 041

Performing multiple drive-mirror blockjobs on the same qemu instance
results in the image file used for the block device being replaced by
the newly mirrored file, which is not what we want.

Fix this by performing one dedicated test per sync mode....

36452f12 11/15/2013 02:37 pm Fam Zheng

qemu-img: Fix overwriting 'ret' before using

This patch moves ret assignment after reporting original error.

We were lucky to pass qemu-iotests 048 (qemu-img compare case) but when
I tried to run with TEST_DIR=/tmp (tmpfs), it fails with a "wrong"
mismatch offset. This fixes two bugs....

06d22aa3 11/15/2013 02:37 pm Kevin Wolf

block: Fail if requested driver is not available

If an explicit driver option is present, but doesn't specify a valid
driver, then bdrv_open() should fail instead of probing the format.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Jeff Cody <>...

a1144c0d 11/15/2013 02:37 pm Kevin Wolf

qemu-iotests: Test qcow2 count_contiguous_clusters()

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

b04b6b6e 11/14/2013 02:09 pm Fam Zheng

block: Print its file name if backing file opening failed

If backing file doesn't exist, the error message is confusing and
misleading:

$ qemu /tmp/a.qcow2
qemu: could not open disk image /tmp/a.qcow2: Could not open file: No
such file or directory...
c15badee 11/14/2013 02:09 pm Max Reitz

qemu-iotests: Extend 041 for unbacked mirroring

Add a new test case in file 041 for mirroring unbacked images in
"absolute-paths" mode. This should work, if possible, but most
importantly, qemu should never crash.

Signed-off-by: Max Reitz <>...

e78835b7 11/07/2013 02:58 pm Jeff Cody

block: vhdx qemu-iotest - log replay of data sector

This tests the replay of a data sector in a VHDX image file.

The image file is a 10G dynamic image, with 4MB block size. The
image was created with qemu-img, and the log left unplayed by
modification of the vhdx image format driver....

View revisions

Also available in: Atom