qemu-irix/tests/qemu-iotests
Hu Tao 0e4271b711 qcow2: Add falloc and full preallocation option
preallocation=falloc allocates disk space by posix_fallocate(),
preallocation=full allocates disk space by writing zeros to disk.
Both modes imply preallocation=metadata.

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-09-12 15:43:06 +02:00
..
sample_images qemu-iotests: Add data pattern in version3 VMDK sample image in 059 2014-08-15 15:07:13 +02:00
.gitignore
001
001.out
002
002.out
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
017.out
018
018.out
019
019.out
020
020.out
021
021.out
022
022.out
023
023.out
024
024.out
025 qemu-iotests: Run 025 for Archipelago block driver 2014-09-10 10:41:29 +02:00
025.out
026
026.out
026.out.nocache
027
027.out
028 qemu-iotests: Fix 028 reference output for qed 2014-08-20 11:51:28 +02:00
028.out qemu-iotests: Fix 028 reference output for qed 2014-08-20 11:51:28 +02:00
029
029.out
030 qemu-iotests: Fix blkdebug in VM drive in 030 2014-05-19 11:36:49 +02:00
030.out
031 iotests: Use $PYTHON for Python scripts 2014-06-27 20:00:00 +02:00
031.out
032
032.out
033
033.out
034
034.out
035
035.out
036 qcow2: Fix error path for unknown incompatible features 2014-07-18 13:12:15 +01:00
036.out qcow2: Fix error path for unknown incompatible features 2014-07-18 13:12:15 +01:00
037
037.out
038
038.out
039 iotests: Use $PYTHON for Python scripts 2014-06-27 20:00:00 +02:00
039.out qemu-iotests: Fix core dump suppression in test 039 2014-05-19 11:36:49 +02:00
040 block: make 'top' argument to block-commit optional 2014-07-01 10:15:33 +02:00
040.out qemu-iotests: Test BLOCK_JOB_READY event for 0Kb image active commit 2014-06-26 13:51:00 +02:00
041 qemu-iotests: Disable Quorum testing in 041 when Quorum is not builtin 2014-07-07 09:15:29 +02:00
041.out mirror: Fix qiov size for short requests 2014-07-07 09:15:29 +02:00
042
042.out
043
043.out
044
044.out
045
045.out
046
046.out
047
047.out
048
048.out
049
049.out qapi: introduce PreallocMode and new PreallocModes full and falloc. 2014-09-12 15:43:06 +02:00
050
050.out
051 block: Catch backing files assigned to non-COW drivers 2014-06-26 13:51:01 +02:00
051.out scsi-bus: Convert DeviceClass init to realize 2014-08-26 13:20:44 +02:00
052
052.out
053
053.out
054 iotests: Use $PYTHON for Python scripts 2014-06-27 20:00:00 +02:00
054.out
055
055.out
056
056.out
057
057.out
058
058.out
059 qemu-iotests: Add data pattern in version3 VMDK sample image in 059 2014-08-15 15:07:13 +02:00
059.out qemu-iotests: Add data pattern in version3 VMDK sample image in 059 2014-08-15 15:07:13 +02:00
060 iotests: Add test for image header overlap 2014-08-15 15:07:16 +02:00
060.out iotests: Add test for image header overlap 2014-08-15 15:07:16 +02:00
061 iotests: Use $PYTHON for Python scripts 2014-06-27 20:00:00 +02:00
061.out change block layer to support both QemuOpts and QEMUOptionParamter 2014-06-16 17:23:20 +08:00
062
062.out
063
063.out
064
064.out
065 iotests: Drop Python version from 065's Shebang 2014-06-27 20:00:01 +02:00
065.out
066
066.out
067
067.out block: optimize zero writes with bdrv_write_zeroes 2014-05-19 13:42:27 +02:00
068
068.out
069
069.out
070
070.out
071
071.out
072
072.out
073
073.out
074
074.out
075
075.out
076
076.out
077
077.out
078
078.out
079
079.out
080
080.out
081 quorum: Add the rewrite-corrupted parameter to quorum 2014-06-27 14:18:17 +02:00
081.out quorum: Add the rewrite-corrupted parameter to quorum 2014-06-27 14:18:17 +02:00
082
082.out qcow2: Add falloc and full preallocation option 2014-09-12 15:43:06 +02:00
083 iotests: Fix 083 for out-of-tree builds 2014-06-27 20:00:01 +02:00
083.out
084 block: iotest - update 084 to test static VDI image creation 2014-08-15 15:07:15 +02:00
084.out block: iotest - update 084 to test static VDI image creation 2014-08-15 15:07:15 +02:00
085
085.out
086
086.out
087
087.out
088
088.out
089 iotests: Use _img_info in test 089 2014-05-28 14:28:46 +02:00
089.out iotests: Use _img_info in test 089 2014-05-28 14:28:46 +02:00
090
090.out
091 qemu-iotests: Handle cache mode option in 091 2014-05-28 14:22:25 +02:00
091.out
092 qcow1: Stricter backing file length check 2014-05-19 11:36:49 +02:00
092.out qcow1: Stricter backing file length check 2014-05-19 11:36:49 +02:00
095 block: add qemu-iotest for resize base during live commit 2014-06-27 11:37:54 +02:00
095.out block: add qemu-iotest for resize base during live commit 2014-06-27 11:37:54 +02:00
099 iotests: Add test for image filename construction 2014-08-20 14:33:42 +02:00
099.out iotests: Add test for image filename construction 2014-08-20 14:33:42 +02:00
100 qemu-iotests: add multiwrite test cases 2014-08-29 14:10:15 +01:00
100.out qemu-iotests: add multiwrite test cases 2014-08-29 14:10:15 +01:00
101 qemu-iotests: add test case 101 for short file I/O 2014-08-22 11:01:12 +02:00
101.out qemu-iotests: add test case 101 for short file I/O 2014-08-22 11:01:12 +02:00
103 iotests: Add test for qcow2's cache options 2014-08-20 11:51:28 +02:00
103.out iotests: Add test for qcow2's cache options 2014-08-20 11:51:28 +02:00
104 block: round up file size to nearest sector 2014-09-12 15:43:06 +02:00
104.out block: round up file size to nearest sector 2014-09-12 15:43:06 +02:00
COPYING
Makefile
README
check iotests: Use $PYTHON for Python scripts 2014-06-27 20:00:00 +02:00
common qemu-iotests: add support for Archipelago protocol 2014-08-15 15:07:14 +02:00
common.config iotests: Allow out-of-tree run 2014-06-27 20:00:00 +02:00
common.filter block: round up file size to nearest sector 2014-09-12 15:43:06 +02:00
common.pattern
common.qemu Fix new typos (found by codespell) 2014-06-24 20:01:24 +04:00
common.rc qemu-iotests: Fix 028 reference output for qed 2014-08-20 11:51:28 +02:00
group block: round up file size to nearest sector 2014-09-12 15:43:06 +02:00
iotests.py iotests: Allow out-of-tree run 2014-06-27 20:00:00 +02:00
nbd-fault-injector.py
qcow2.py qcow2: Fix error path for unknown incompatible features 2014-07-18 13:12:15 +01:00
qed.py
socket_scm_helper.c iotests: Send the correct fd in socket_scm_helper 2014-09-12 10:27:54 +02:00

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.