Statistics
| Branch: | Revision:

root / tests / qemu-iotests @ 5a37532d

Name Size
.gitignore 95 Bytes
001 1.5 kB
001.out 472 Bytes
002 2.5 kB
002.out 1.9 kB
003 1.8 kB
003.out 713 Bytes
004 2.2 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.4 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.9 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 20.1 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.4 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.1 kB
038.out 46.9 kB
039 3.4 kB
039.out 2 kB
040 11.7 kB
040.out 105 Bytes
041 28.7 kB
041.out 113 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 5.3 kB
045.out 94 Bytes
046 5.7 kB
046.out 12 kB
047 1.6 kB
047.out 1.1 kB
048 1.7 kB
048.out 992 Bytes
049 3.3 kB
049.out 10.8 kB
050 1.8 kB
050.out 673 Bytes
051 4.4 kB
051.out 7.8 kB
052 1.5 kB
052.out 470 Bytes
053 1.7 kB
053.out 498 Bytes
COPYING 17.6 kB
Makefile 113 Bytes
README 693 Bytes
check 6 kB
common 7.1 kB
common.config 3.4 kB
common.filter 3.9 kB
common.pattern 4.8 kB
common.rc 9 kB
group 1 kB
iotests.py 7.3 kB
qcow2.py 6.7 kB
qed.py 7 kB

Latest revisions

# Date Author Comment
7da94ca7 04/22/2013 12:37 pm Stefan Hajnoczi

qemu-iotests: add 053 unaligned compressed image size test

Test that qemu-img convert -c works when input image length is not a
multiple of the cluster size.

Previously an error message would be produced:

qemu-img: error while compressing sector 0: Input/output error...
2af5ef70 04/22/2013 11:27 am Kevin Wolf

block: Fail gracefully when using a format driver on protocol level

Specifying the wrong driver could fail an assertion:

$ qemu-system-x86_64 -drive file.driver=qcow2,file=x
qemu-system-x86_64: block.c:721: bdrv_open_common: Assertion `file !=
((void *)0)' failed....

bdda9232 04/22/2013 11:27 am Kevin Wolf

qemu-iotests: Fix _filter_qemu

$QEMU_PROG happens to be 'qemu' in my setup, so this sed command
replaces a bit too much. Restrict it to the start of the line and to
when it's followed by a colon, i.e. the form used by error messages.

Signed-off-by: Kevin Wolf <>...

c09b437b 04/15/2013 11:18 am Stefan Hajnoczi

qemu-iotests: filter QEMU_PROG in 051.out

Filter the name of the QEMU executable so the output can be diffed no
matter what QEMU_PROG is (e.g. qemu-system-x86_64).

Signed-off-by: Stefan Hajnoczi <>

342809e8 04/15/2013 11:18 am Richard W.M. Jones

iotests: Add 'check -ssh' option to test Secure Shell block device.

Note in order to run these tests on ssh, you must be running a local
ssh daemon, and that daemon must accept loopback connections, and
ssh-agent has to be set up to allow logins on the local daemon. In...

cf07aecf 04/15/2013 09:26 am Kevin Wolf

qemu-iotests: A few more bdrv_pread/pwrite tests

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

47e5df21 04/15/2013 09:26 am Kevin Wolf

qemu-iotests: Add test for -drive options

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

ecdd5333 03/28/2013 12:52 pm Kevin Wolf

qcow2: Gather clusters in a looping loop

Instead of just checking once in exactly this order if there are
dependendies, non-COW clusters and new allocation, this starts looping
around these. This way we can, for example, gather non-COW clusters after
new allocations as long as the host cluster offsets stay contiguous....

d9d74f41 03/28/2013 12:52 pm Kevin Wolf

qcow2: Improve check for overlapping allocations

The old code detected an overlapping allocation even when the
allocations didn't actually overlap, but were only adjacent.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Eric Blake <>...

c349ca4b 03/28/2013 12:52 pm Kevin Wolf

qcow2: Fix "total clusters" number in bdrv_check

This should be based on the virtual disk size, not on the size of the
image.

Interesting observation: With some VM state stored in the image file,
percentages higher than 100% are possible, even though snapshots...

View revisions

Also available in: Atom