History | View | Annotate | Download (935 Bytes)
qemu-iotests: Add regression test for b7ab0fea
It turned out that the change in b7ab0fea was actually a real qcow2corruption fix. This is a reproducer for the bug.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qemu-iotests: Test concurrent cluster allocations
This adds some first tests for qcow2's dependency handling when twoparallel write requests access the same cluster.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests: Add tests for fdsets
Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>Reviewed-by: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qemu-iotests: qcow2: Test growing large refcount table
Actually writing all the content with 512 byte sector size would takeforever, therefore build the image file with a Python script and useqemu-io for the last write that actually triggers the refcount table...
qemu-iotests: add mirroring test case
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-iotests: Add 043 backing file chain infinite loop test
This new test verifies that qemu-img info --backing-chain safely abortswhen an image file has a backing file infinite loop.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-iotests: Test qemu-img operation on zero size image
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
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 sourceand the destination of the streaming because qemu-io does not always...
qemu-iotests: add initial tests for live block commit
Derived from the streaming test cases (030), this adds thefollowing 9 tests:
1. For the following image chain, commit [mid] into [backing], and use qemu-io to verify [backing] has its original data, as...
qemu-iotests: add 039 qcow2 lazy refcounts test
This tests establishes the basic post-conditions of the qcow2 lazyrefcounts 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...
qemu-iotests: add 036 autoclear feature bit test
This new test validates the autoclear feature bit behavior. When QEMUopens a qcow2v3 image file with an unknown autoclear feature bit the bitshould be cleared in the image file header.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>...
qemu-iotests: Some backing file COW tests
Looks like we're still missing these very basic tests for backing filehandling.
qemu-iotests: COW with many AIO requests on the same cluster
This one is a bit more interesting. The COW operation isn't performedcompletely synchronously, and therefore dependencies must be handledcorrectly when multiple requests write to the same unallocated cluster....
qemu-iotests: Many parallel allocating I/O requests
This test case manages to let qcow2 abort because its cache is used upand it can't find free cache entries for new requests any more.
qemu-iotests: add a simple test for write_zeroes
qemu-iotests: Test backing file COW with zero clusters
qemu-iotests: Test bdrv_close while AIO is in flight
If the BlockDriverState is closed/freed without draining the AIOrequests first, the request coroutines may work on invalid data and filedescriptors or have some dangling pointers that cause segfaults....
qemu-iotests: Test unknown qcow2 header extensions
The immportant thing here is that header extensions don't get silentlydropped when the header is rewritten, e.g. during a rebase.
qemu-iotests: Mark some tests as quick
This creates a new test group 'quick' for some test case that take atmost a couple of seconds each, so that the group can be run during aquick 'make check'
test: add image streaming tests
This patch adds a test suite for the image streaming feature. Itexercises the 'block_stream', 'block_job_cancel', 'block_job_set_speed',and 'query-block-jobs' QMP commands.
qemu-iotests: test loading internal snapshots
Test loading internal snapshots where the L1 table of the snapshotis smaller than the current L1 table.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Christoph Hellwig <hch@lst.de>
qemu-iotests: test qemu-img rebase
qemu-iotests: test bdrv_truncate
This patch adds an image resize grow test to ensure that existing datais not lost during grow and new space is zeroed.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>Signed-off-by: Christoph Hellwig <hch@lst.de>
qemu-iotests: qcow2 error path tests
This adds test cases for qcow2 error paths (using blkdebug)
qemu-iotests: add sub-cluster allocating write test for sparse image formats
Image formats that grow the image file on demand and are organized intoclusters must handle sub-cluster allocating writes. Such writes toucha portion of a previously unallocated data cluster. After the image...
qemu-iotests: add read/write from smaller backing image test
Some image formats support backing images that are smaller than theimage file. This patch adds a test that verifies that reads and writesbeyond the end of backing image work.
Unallocated reads beyond the end of the backing file should produce...
qemu-iotests: test I/O after EOF for growable files
Signed-off-by: Christoph Hellwig <hch@lst.de>Reviwed-by: Kevin Wolf <kwolf@redhat.com>
qemu-iotests: simple backing file test
qemu-iotests: test merge of backing file when converting
qemu-iotests: test qemu-img convert with backing file for the output image
qemu-iotests: test commiting changes to backing file
qemu-iotests: test invalid pattern argument handling in qemu-io
Signed-off-by: Christoph Hellwig <hch@lst.de>Reviewed-by: Kevin Wolf <kwolf@redhat.com>
qemu-iotests: test bdrv_load/save_vmstate
qemu-iotests: test larger clusters sizes on qcow2
This patch adds test case 023 which tests some more cluster sizes. Foranythinger larger than 4k clusters we can't use requests that are l2_size ormore (128k for 1k clusters, 2 MB for 4k clusters, 512 MB for 64k clusters)....
qemu-iotests: add test for refcount table growth and snapshots
015: Combined test to grow the refcount table and test snapshots.
qemu-iotests: Initial import into the public repository.