xemu/tests/qemu-iotests
Stefan Hajnoczi dc68afe0f3 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
     normally, then it is marked dirty.

     a. Written data can be read back successfully.
     b. The image file can be repaired and will be marked clean again.
     c. The image file is automatically repaired when opened read/write.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2012-08-06 22:39:14 +02:00
..
005
2012-04-19 15:48:52 +02:00
2012-04-19 15:48:52 +02:00
009
2012-04-05 15:10:06 +02:00
010
2012-04-05 15:10:06 +02:00
011
2012-04-05 15:10:06 +02:00
2012-02-22 16:17:03 +01:00
030
2012-06-15 14:03:43 +02:00
2012-08-06 22:39:14 +02:00
035
2012-05-25 18:13:44 +02:00
2012-08-06 22:39:14 +02:00
037
2012-06-15 14:03:43 +02:00
2012-07-17 16:48:32 +02:00
2012-02-23 10:29:46 +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 require 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.