qemu/tests/qemu-iotests
Fam Zheng 2c43e43c8c vmdk: check l1 size before opening image
L1 table size is calculated from capacity, granularity and l2 table
size. If capacity is too big or later two are too small, the L1 table
will be too big to allocate in memory. Limit it to a reasonable range.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2013-08-06 15:27:32 +02:00
..
.gitignore
001
001.out
002 qemu-iotests: A few more bdrv_pread/pwrite tests 2013-04-15 08:26:18 +02:00
002.out qemu-iotests: A few more bdrv_pread/pwrite tests 2013-04-15 08:26:18 +02:00
003
003.out
004
004.out
005
005.out
006
006.out
007
007.out
008
008.out
009
009.out
010
010.out
011
011.out
012
012.out
013
013.out
014
014.out
015
015.out
016
016.out
017 qemu-iotests: fix 017 018 for vmdk 2013-05-08 15:28:50 +02:00
017.out qemu-iotests: fix 017 018 for vmdk 2013-05-08 15:28:50 +02:00
018 qemu-iotests: fix 017 018 for vmdk 2013-05-08 15:28:50 +02:00
018.out qemu-iotests: fix 017 018 for vmdk 2013-05-08 15:28:50 +02:00
019
019.out
020
020.out
021
021.out
022
022.out
023
023.out
024
024.out
025
025.out
026
026.out
027
027.out
028
028.out
029
029.out
030 qemu-iotests: make create_image() common 2013-06-04 12:11:58 +02:00
030.out
031
031.out
032
032.out
033
033.out
034
034.out
035
035.out
036
036.out
037
037.out
038
038.out qcow2: Improve check for overlapping allocations 2013-03-28 11:52:43 +01:00
039
039.out
040
040.out
041 qemu-iotests: extract wait_until_completed() into iotests.py 2013-06-28 09:20:27 +02:00
041.out
042 qemu-iotests: exclude vmdk for test 042 2013-05-08 15:28:49 +02:00
042.out
043 qemu-iotests: exclude vmdk and qcow from 043 2013-05-08 15:28:49 +02:00
043.out
044
044.out qcow2: Gather clusters in a looping loop 2013-03-28 11:52:44 +01:00
045
045.out
046
046.out
047
047.out
048
048.out
049
049.out cutils: Support 'P' and 'E' suffixes in strtosz() 2013-06-06 11:27:03 +02:00
050
050.out
051 qcow2: Use dashes instead of underscores in options 2013-07-26 21:59:56 +02:00
051.out qemu-iotests: filter QEMU version in monitor banner 2013-08-06 10:41:56 +02:00
052
052.out
053 qemu-iotests: add 053 unaligned compressed image size test 2013-04-22 11:37:12 +02:00
053.out qemu-iotests: add 053 unaligned compressed image size test 2013-04-22 11:37:12 +02:00
054 qemu-iotests: Try creating huge qcow2 image 2013-05-24 16:17:55 +02:00
054.out qemu-iotests: fix 054 cluster size help output 2013-06-04 12:11:57 +02:00
055 Add tests for sync modes 'TOP' and 'NONE' 2013-07-26 22:01:31 +02:00
055.out Add tests for sync modes 'TOP' and 'NONE' 2013-07-26 22:01:31 +02:00
056 Add tests for sync modes 'TOP' and 'NONE' 2013-07-26 22:01:31 +02:00
056.out Add tests for sync modes 'TOP' and 'NONE' 2013-07-26 22:01:31 +02:00
059 vmdk: check l1 size before opening image 2013-08-06 15:27:32 +02:00
059.out vmdk: check l1 size before opening image 2013-08-06 15:27:32 +02:00
check tests: set MALLOC_PERTURB_ to expose memory bugs 2013-05-29 08:16:06 -05:00
common iotests: Add 'check -ssh' option to test Secure Shell block device. 2013-04-15 10:18:05 +02:00
common.config
common.filter qemu-iotests: filter QEMU version in monitor banner 2013-08-06 10:41:56 +02:00
common.pattern
common.rc qemu-iotests: add poke_file utility function 2013-08-06 15:27:32 +02:00
COPYING
group qemu-iotests: add empty test case for vmdk 2013-08-06 15:27:32 +02:00
iotests.py Add tests for sync modes 'TOP' and 'NONE' 2013-07-26 22:01:31 +02:00
Makefile
qcow2.py qcow2.py: Subcommand for changing header fields 2013-05-24 16:17:55 +02:00
qed.py
README

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