Statistics
| Branch: | Revision:

root / tests / qemu-iotests @ 058f8f16

Name Size
.gitignore 95 Bytes
001 1.5 kB
001.out 472 Bytes
002 1.7 kB
002.out 683 Bytes
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.7 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 8.7 kB
030.out 94 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.3 kB
039.out 2 kB
COPYING 17.6 kB
Makefile 113 Bytes
README 693 Bytes
check 6 kB
common 6.8 kB
common.config 3.5 kB
common.filter 3.8 kB
common.pattern 4.8 kB
common.rc 7.6 kB
group 805 Bytes
iotests.py 6.2 kB
qcow2.py 6.6 kB
qed.py 7 kB

Latest revisions

# Date Author Comment
353a41be 08/10/2012 11:25 am Kevin Wolf

qemu-iotests: Save some sed processes

Instead of building a huge pipeline, just pass all expressions to a
single sed process.

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

058f8f16 08/10/2012 11:25 am Stefan Hajnoczi

block: add BLOCK_O_CHECK for qemu-img check

Image formats with a dirty bit, like qed and qcow2, repair dirty image
files upon open with BDRV_O_RDWR. Performing automatic repair when
qemu-img check runs is not ideal because the bdrv_open() call repairs
the image before the actual bdrv_check() call from qemu-img.c....

e77964f7 08/06/2012 11:39 pm Stefan Hajnoczi

qemu-iotests: add qed.py image manipulation utility

The qed.py utility can inspect and manipulate QED image files. It can
be used for testing to see the state of image metadata and also to
inject corruptions into the image file. It also has a scrubbing feature...

c61d0004 08/06/2012 11:39 pm Stefan Hajnoczi

qcow2: introduce dirty bit

This patch adds an incompatible feature bit to mark images that have not
been closed cleanly. When a dirty image file is opened a consistency
check and repair is performed.

Update qemu-iotests 031 and 036 since the extension header size changes...

91cf8a35 08/06/2012 11:39 pm Stefan Hajnoczi

qemu-iotests: ignore qemu-img create lazy_refcounts output

Hide the default lazy_refcounts=off output from qemu-img like we do with
other image creation options. This ensures that existing golden outputs
continue to pass despite the new option that has been added....

bfe8043e 08/06/2012 11:39 pm Stefan Hajnoczi

qcow2: implement lazy refcounts

Lazy refcounts is a performance optimization for qcow2 that postpones
refcount metadata updates and instead marks the image dirty. In the
case of crash or power failure the image will be left in a dirty state
and repaired next time it is opened....

dc68afe0 08/06/2012 11:39 pm Stefan Hajnoczi

qemu-iotests: add 039 qcow2 lazy refcounts test

This tests establishes the basic post-conditions of the qcow2 lazy
refcounts features:

1. If the image was closed normally, it is marked clean.
2. If an allocating write was performed and the image was not closed...
b0869a46 08/06/2012 11:39 pm Kevin Wolf

qemu-iotests: Be more flexible with image creation options

qemu-iotests already filters out image creation options that may be
present or not in order to get the same output in both cases. However,
often it only considers the default value of the option. Cover all valid...

2f24e8fb 07/17/2012 05:48 pm Kevin Wolf

qemu-iotests: Valgrind support

check -valgrind wraps all qemu-io calls with valgrind. This makes it a
bit easier to debug problems that occur somewhere deep in a test case.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Paolo Bonzini <>

d551cd50 06/15/2012 03:03 pm Stefan Hajnoczi

qemu-iotests: add 036 autoclear feature bit test

This new test validates the autoclear feature bit behavior. When QEMU
opens a qcow2v3 image file with an unknown autoclear feature bit the bit
should be cleared in the image file header.

Signed-off-by: Stefan Hajnoczi <>...

View revisions

Also available in: Atom