Statistics
| Branch: | Revision:

root / tests / qemu-iotests / group @ b93d6d24

History | View | Annotate | Download (935 Bytes)

# Date Author Comment
b93d6d24 02/01/2013 03:58 pm Kevin Wolf

qemu-iotests: Add regression test for b7ab0fea

It turned out that the change in b7ab0fea was actually a real qcow2
corruption fix. This is a reproducer for the bug.

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

91d4093d 12/12/2012 01:33 pm Kevin Wolf

qemu-iotests: Test concurrent cluster allocations

This adds some first tests for qcow2's dependency handling when two
parallel write requests access the same cluster.

Signed-off-by: Kevin Wolf <>

23e956bf 12/11/2012 12:05 pm Corey Bryant

tests: Add tests for fdsets

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

d2ef210c 11/14/2012 07:19 pm Kevin Wolf

qemu-iotests: qcow2: Test growing large refcount table

Actually writing all the content with 512 byte sector size would take
forever, therefore build the image file with a Python script and use
qemu-io for the last write that actually triggers the refcount table...

44c7ca5e 10/24/2012 11:26 am Paolo Bonzini

qemu-iotests: add mirroring test case

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

514d9da5 10/24/2012 11:26 am Stefan Hajnoczi

qemu-iotests: Add 043 backing file chain infinite loop test

This new test verifies that qemu-img info --backing-chain safely aborts
when an image file has a backing file infinite loop.

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

ee17f9d5 10/24/2012 11:26 am Kevin Wolf

qemu-iotests: Test qemu-img operation on zero size image

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

0c817347 09/28/2012 08:14 pm Paolo Bonzini

qemu-iotests: add test for pausing a streaming operation

These check that a paused streaming job does not advance its offset.

Sometimes the new test fails; the map is different between the source
and the destination of the streaming because qemu-io does not always...

747051cd 09/28/2012 07:55 pm Jeff Cody

qemu-iotests: add initial tests for live block commit

Derived from the streaming test cases (030), this adds the
following 9 tests:

1. For the following image chain, commit [mid] into [backing],
and use qemu-io to verify [backing] has its original data, as...

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...
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 <>...

bce283cc 06/15/2012 03:03 pm Kevin Wolf

qemu-iotests: Some backing file COW tests

Looks like we're still missing these very basic tests for backing file
handling.

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

0446919d 06/15/2012 03:03 pm Kevin Wolf

qemu-iotests: COW with many AIO requests on the same cluster

This one is a bit more interesting. The COW operation isn't performed
completely synchronously, and therefore dependencies must be handled
correctly when multiple requests write to the same unallocated cluster....

dad5e576 05/02/2012 07:39 pm Kevin Wolf

qemu-iotests: Many parallel allocating I/O requests

This test case manages to let qcow2 abort because its cache is used up
and it can't find free cache entries for new requests any more.

Signed-off-by: Kevin Wolf <>

ee3a315e 04/20/2012 04:57 pm Paolo Bonzini

qemu-iotests: add a simple test for write_zeroes

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

ab3a32ad 04/20/2012 04:57 pm Kevin Wolf

qemu-iotests: Test backing file COW with zero clusters

Signed-off-by: Kevin Wolf <>

aafcdcc9 04/19/2012 04:48 pm Kevin Wolf

qemu-iotests: Test bdrv_close while AIO is in flight

If the BlockDriverState is closed/freed without draining the AIO
requests first, the request coroutines may work on invalid data and file
descriptors or have some dangling pointers that cause segfaults....

f394f1fe 04/05/2012 03:54 pm Kevin Wolf

qemu-iotests: Test unknown qcow2 header extensions

The immportant thing here is that header extensions don't get silently
dropped when the header is rewritten, e.g. during a rebase.

Signed-off-by: Kevin Wolf <>

3811f63a 03/12/2012 04:14 pm Kevin Wolf

qemu-iotests: Mark some tests as quick

This creates a new test group 'quick' for some test case that take at
most a couple of seconds each, so that the group can be run during a
quick 'make check'

Signed-off-by: Kevin Wolf <>

37ce63eb 02/29/2012 04:48 pm Stefan Hajnoczi

test: add image streaming tests

This patch adds a test suite for the image streaming feature. It
exercises the 'block_stream', 'block_job_cancel', 'block_job_set_speed',
and 'query-block-jobs' QMP commands.

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

8455e4ee 02/23/2012 11:29 am Kevin Wolf

qemu-iotests: test loading internal snapshots

Test loading internal snapshots where the L1 table of the snapshot
is smaller than the current L1 table.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Christoph Hellwig <>

939e1640 02/22/2012 05:17 pm Kevin Wolf

qemu-iotests: test qemu-img rebase

Signed-off-by: Kevin Wolf <>
Signed-off-by: Christoph Hellwig <>

596f4f96 02/22/2012 05:17 pm Stefan Hajnoczi

qemu-iotests: test bdrv_truncate

This patch adds an image resize grow test to ensure that existing data
is not lost during grow and new space is zeroed.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Christoph Hellwig <>

52280eac 02/22/2012 05:17 pm Kevin Wolf

qemu-iotests: qcow2 error path tests

This adds test cases for qcow2 error paths (using blkdebug)

Signed-off-by: Kevin Wolf <>
Signed-off-by: Christoph Hellwig <>

89d22bc3 02/22/2012 05:17 pm Stefan Hajnoczi

qemu-iotests: add sub-cluster allocating write test for sparse image formats

Image formats that grow the image file on demand and are organized into
clusters must handle sub-cluster allocating writes. Such writes touch
a portion of a previously unallocated data cluster. After the image...

8268b767 02/22/2012 05:17 pm Stefan Hajnoczi

qemu-iotests: add read/write from smaller backing image test

Some image formats support backing images that are smaller than the
image file. This patch adds a test that verifies that reads and writes
beyond the end of backing image work.

Unallocated reads beyond the end of the backing file should produce...

4bacf057 02/22/2012 05:17 pm Christoph Hellwig

qemu-iotests: test I/O after EOF for growable files

Signed-off-by: Christoph Hellwig <>
Reviwed-by: Kevin Wolf <>

2557d865 02/22/2012 05:17 pm Kevin Wolf

qemu-iotests: simple backing file test

Signed-off-by: Kevin Wolf <>
Signed-off-by: Christoph Hellwig <>

16701400 02/22/2012 05:17 pm Kevin Wolf

qemu-iotests: test merge of backing file when converting

Signed-off-by: Kevin Wolf <>
Signed-off-by: Christoph Hellwig <>

9128ae5e 02/22/2012 05:17 pm Kevin Wolf

qemu-iotests: test qemu-img convert with backing file for the output image

Signed-off-by: Kevin Wolf <>
Signed-off-by: Christoph Hellwig <>

ed4dc684 02/22/2012 05:17 pm Kevin Wolf

qemu-iotests: test commiting changes to backing file

Signed-off-by: Kevin Wolf <>
Signed-off-by: Christoph Hellwig <>

713d76e8 02/22/2012 05:17 pm Christoph Hellwig

qemu-iotests: test invalid pattern argument handling in qemu-io

Signed-off-by: Christoph Hellwig <>
Reviewed-by: Kevin Wolf <>

e9029212 02/22/2012 05:17 pm Kevin Wolf

qemu-iotests: test bdrv_load/save_vmstate

Signed-off-by: Kevin Wolf <>
Signed-off-by: Christoph Hellwig <>

ac5e2b20 02/22/2012 05:17 pm Kevin Wolf

qemu-iotests: test larger clusters sizes on qcow2

This patch adds test case 023 which tests some more cluster sizes. For
anythinger larger than 4k clusters we can't use requests that are l2_size or
more (128k for 1k clusters, 2 MB for 4k clusters, 512 MB for 64k clusters)....

3778057d 02/22/2012 05:17 pm Kevin Wolf

qemu-iotests: add test for refcount table growth and snapshots

015: Combined test to grow the refcount table and test snapshots.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Christoph Hellwig <>

6bf19c94 02/22/2012 05:15 pm Christoph Hellwig

qemu-iotests: Initial import into the public repository.

Signed-off-by: Kevin Wolf <>