xemu/tests/qemu-iotests
Stefan Hajnoczi 89d22bc306 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
file is grown with the written data, reads of that cluster should work
as expected:

1. Sectors before the written region are zero.
2. The written region is present and the data is uncorrupted.
3. Sectors after the written region are zero.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2012-02-22 16:17:03 +01:00
..
.gitignore qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
001 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
001.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
002 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
002.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
003 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
003.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
004 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
004.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
005 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
005.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
006 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
006.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
007 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
007.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
008 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
008.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
009 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
009.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
010 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
010.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
011 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
011.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
012 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
012.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
013 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
013.out qemu-iotests: test larger clusters sizes on qcow2 2012-02-22 16:17:02 +01:00
014 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
014.out qemu-iotests: test larger clusters sizes on qcow2 2012-02-22 16:17:02 +01:00
015 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
015.out qemu-iotests: add test for refcount table growth and snapshots 2012-02-22 16:17:01 +01:00
016 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
016.out qemu-iotests: test I/O after EOF for growable files 2012-02-22 16:17:02 +01:00
017 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
017.out qemu-iotests: simple backing file test 2012-02-22 16:17:02 +01:00
018 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
018.out qemu-iotests: test merge of backing file when converting 2012-02-22 16:17:02 +01:00
019 qemu-iotests: improve test for qemu-img convert with backing file 2012-02-22 16:17:03 +01:00
019.out qemu-iotests: align test requests according to cluster size 2012-02-22 16:17:02 +01:00
020 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
020.out qemu-iotests: test commiting changes to backing file 2012-02-22 16:17:02 +01:00
021 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
021.out qemu-iotests: test invalid pattern argument handling in qemu-io 2012-02-22 16:17:02 +01:00
022 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
022.out qemu-iotests: test larger clusters sizes on qcow2 2012-02-22 16:17:02 +01:00
023 qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
023.out qemu-iotests: test larger clusters sizes on qcow2 2012-02-22 16:17:02 +01:00
024 qemu-iotests: improve rebase test 2012-02-22 16:17:03 +01:00
024.out qemu-iotests: improve rebase test 2012-02-22 16:17:03 +01:00
025 qemu-iotests: test bdrv_truncate 2012-02-22 16:17:03 +01:00
025.out qemu-iotests: test bdrv_truncate 2012-02-22 16:17:03 +01:00
026 qemu-iotests: qcow2 error path tests 2012-02-22 16:17:03 +01:00
026.out qemu-iotests: qcow2 error path tests 2012-02-22 16:17:03 +01:00
027 qemu-iotests: add sub-cluster allocating write test for sparse image formats 2012-02-22 16:17:03 +01:00
027.out qemu-iotests: add sub-cluster allocating write test for sparse image formats 2012-02-22 16:17:03 +01:00
check qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
common qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
common.config qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
common.filter qemu-iotests: consider more cases in parsing qemu-io output 2012-02-22 16:17:03 +01:00
common.pattern qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
common.rc qemu-iotests: explicitly use bash interpreter 2012-02-22 16:17:03 +01:00
COPYING qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
group qemu-iotests: add sub-cluster allocating write test for sparse image formats 2012-02-22 16:17:03 +01:00
Makefile qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
README qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00

=== This is the QEMU I/O test suite ===

* Intro

This package contains a simple test suite for the I/O layer of qemu.
It does not requite a guest, but only the qemu, qemu-img and qemu-io
binaries.  This does limit it to exercise the low-level I/O path only
but no actual block drivers like ide, scsi or virtio.

* Usage

Just run ./check to run all tests for the raw image format, or ./check
-qcow2 to test the qcow2 image format.  The output of ./check -h explains
additional options to test further image formats or I/O methods.

* Feedback and patches

Please send improvements to the test suite, general feedback or just
reports of failing tests cases to qemu-devel@savannah.nongnu.org.