qemu-irix/tests/qemu-iotests
John Snow cc199b16cf iotests/124: Add cluster_size mismatch test
If a backing file isn't specified in the target image and the
cluster_size is larger than the bitmap granularity, we run the risk of
creating bitmaps with allocated clusters but empty/no data which will
prevent the proper reading of the backup in the future.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 1456433911-24718-4-git-send-email-jsnow@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
2016-02-29 14:55:14 -05:00
..
sample_images
.gitignore
001
001.out
002
002.out
003
003.out
004
004.out
005
005.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
017
017.out
018 iotests: 018: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
018.out iotests: 018: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
019 iotests: 019: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
019.out iotests: 019: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
020 iotests: 020: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
020.out iotests: 020: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
021
021.out
022
022.out
023
023.out
024 iotests: 024: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
024.out iotests: 024: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
025
025.out
026 blkdebug: Avoid '.' in enum values 2015-12-17 08:21:27 +01:00
026.out blkdebug: Avoid '.' in enum values 2015-12-17 08:21:27 +01:00
026.out.nocache blkdebug: Avoid '.' in enum values 2015-12-17 08:21:27 +01:00
027
027.out
028 qemu-iotests: Reduce racy output in 028 2016-01-20 13:36:23 +01:00
028.out qemu-iotests: Reduce racy output in 028 2016-01-20 13:36:23 +01:00
029
029.out
030 iotests: fix race in 030 2015-11-18 15:54:15 +01:00
030.out
031
031.out qcow2: Write full header on image creation 2016-01-20 13:36:23 +01:00
032
032.out
033
033.out
034 iotests: 034: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
034.out iotests: 034: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
035
035.out
036 qcow2: Write full header on image creation 2016-01-20 13:36:23 +01:00
036.out qcow2: Write full header on image creation 2016-01-20 13:36:23 +01:00
037 iotests: 037: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
037.out iotests: 037: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
038 iotests: 038: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
038.out iotests: 038: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
039
039.out qemu-iotests: fix -valgrind option for check 2015-11-11 16:55:28 +01:00
040 qemu-iotests: Test the reopening of overlay_bs in 'block-commit' 2015-11-11 16:25:47 +01:00
040.out qemu-iotests: Test the reopening of overlay_bs in 'block-commit' 2015-11-11 16:25:47 +01:00
041 iotests: Add test cases for blockdev-mirror 2016-01-07 21:30:18 +01:00
041.out iotests: Add test cases for blockdev-mirror 2016-01-07 21:30:18 +01:00
042
042.out
043
043.out block/qapi: always report full_backing_filename 2015-12-18 14:36:17 +01:00
044
044.out
045
045.out
046
046.out
047
047.out
048
048.out
049
049.out
050 iotests: 050: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
050.out iotests: 050: Use TEST_IMG override instead of "mv" 2016-01-07 21:30:17 +01:00
051 iotests: Test that throttle values ranges 2016-01-20 13:37:57 +01:00
051.out iotests: Test that throttle values ranges 2016-01-20 13:37:57 +01:00
051.pc.out iotests: Test that throttle values ranges 2016-01-20 13:37:57 +01:00
052
052.out
053
053.out
054
054.out
055
055.out
056 iotests: Add regresion test case for write notifier assertion failure 2015-12-03 11:08:07 +08:00
056.out iotests: Add regresion test case for write notifier assertion failure 2015-12-03 11:08:07 +08:00
057
057.out
058 qemu-iotests: fix cleanup of background processes 2015-11-11 16:55:28 +01:00
058.out
059 iotests: Add "qemu-img map" test for VMDK extents 2016-02-02 17:50:48 +01:00
059.out iotests: Add "qemu-img map" test for VMDK extents 2016-02-02 17:50:48 +01:00
060
060.out qemu-io qemu-nbd: Use error_report() etc. instead of fprintf() 2016-01-13 15:16:18 +01:00
061 iotests: disable core dumps in test 061 2015-10-16 15:34:29 +02:00
061.out qcow2: Write full header on image creation 2016-01-20 13:36:23 +01:00
062
062.out
063
063.out
064
064.out
065
065.out
066
066.out
067 qemu-iotests: 067: ignore QMP events 2016-02-22 16:54:14 +01:00
067.out qemu-iotests: 067: ignore QMP events 2016-02-22 16:54:14 +01:00
068 qemu-iotests: s390x: fix test 068 2015-12-18 14:36:17 +01:00
068.out
069
069.out qemu-io qemu-nbd: Use error_report() etc. instead of fprintf() 2016-01-13 15:16:18 +01:00
070
070.out vhdx: Fix "log that needs to be replayed" error message 2016-01-13 15:16:18 +01:00
071 iotests: Only create BB if necessary 2015-10-23 18:18:22 +02:00
071.out iotests: Only create BB if necessary 2015-10-23 18:18:22 +02:00
072
072.out
073
073.out
074
074.out
075
075.out qemu-io qemu-nbd: Use error_report() etc. instead of fprintf() 2016-01-13 15:16:18 +01:00
076
076.out qemu-io qemu-nbd: Use error_report() etc. instead of fprintf() 2016-01-13 15:16:18 +01:00
077 blkdebug: Avoid '.' in enum values 2015-12-17 08:21:27 +01:00
077.out
078
078.out qemu-io qemu-nbd: Use error_report() etc. instead of fprintf() 2016-01-13 15:16:18 +01:00
079
079.out
080
080.out qemu-io qemu-nbd: Use error_report() etc. instead of fprintf() 2016-01-13 15:16:18 +01:00
081 iotests: Only create BB if necessary 2015-10-23 18:18:22 +02:00
081.out iotests: Only create BB if necessary 2015-10-23 18:18:22 +02:00
082
082.out
083 iotests: Move _filter_nbd into common.filter 2016-02-02 17:49:42 +01:00
083.out iotests: Make _filter_nbd drop log lines 2016-02-02 17:49:42 +01:00
084
084.out
085 block: test 'blockdev-snapshot' using a file BDS as the overlay 2015-11-11 16:25:48 +01:00
085.out block: test 'blockdev-snapshot' using a file BDS as the overlay 2015-11-11 16:25:48 +01:00
086 iotests: 086: Add raw format 2016-01-07 21:30:16 +01:00
086.out
087 blockdev: Allow creation of BDS trees without BB 2015-10-23 18:18:22 +02:00
087.out blockdev: Allow creation of BDS trees without BB 2015-10-23 18:18:22 +02:00
088
088.out qemu-io qemu-nbd: Use error_report() etc. instead of fprintf() 2016-01-13 15:16:18 +01:00
089
089.out
090
090.out
091
091.out
092
092.out qemu-io qemu-nbd: Use error_report() etc. instead of fprintf() 2016-01-13 15:16:18 +01:00
093 qemu-iotests: Extend iotest 093 to test bursts 2016-02-22 14:08:06 +01:00
093.out qemu-iotests: Extend iotest 093 to test bursts 2016-02-22 14:08:06 +01:00
094 iotests: Update comments for bdrv_swap() in 094 2015-12-18 14:34:44 +01:00
094.out
095 iotests: 095: Filter _img_info output 2016-01-07 21:30:17 +01:00
095.out iotests: 095: Filter _img_info output 2016-01-07 21:30:17 +01:00
096 throttle: test that snapshots move the throttling configuration 2015-10-16 15:34:29 +02:00
096.out throttle: test that snapshots move the throttling configuration 2015-10-16 15:34:29 +02:00
097
097.out
098
098.out
099
099.out
100
100.out
101
101.out
102
102.out
103
103.out qemu-io qemu-nbd: Use error_report() etc. instead of fprintf() 2016-01-13 15:16:18 +01:00
104
104.out
105
105.out
107
107.out
108
108.out
109
109.out mirror: Rewrite mirror_iteration 2016-02-29 14:54:31 -05:00
110
110.out block/qapi: allow best-effort query 2015-12-18 14:36:17 +01:00
111
111.out
112 iotests: Extend test 112 for qemu-img amend 2015-12-18 14:34:43 +01:00
112.out iotests: Extend test 112 for qemu-img amend 2015-12-18 14:34:43 +01:00
113
113.out
114
114.out qemu-io qemu-nbd: Use error_report() etc. instead of fprintf() 2016-01-13 15:16:18 +01:00
115
115.out
116
116.out qemu-io qemu-nbd: Use error_report() etc. instead of fprintf() 2016-01-13 15:16:18 +01:00
117 iotests: Add test for multiple BB on BDS tree 2016-02-02 17:50:46 +01:00
117.out iotests: Add test for multiple BB on BDS tree 2016-02-02 17:50:46 +01:00
118 iotests: Limit supported formats for 118 2016-02-02 17:49:42 +01:00
118.out iotests: Add test for change-related QMP commands 2015-11-11 16:25:47 +01:00
119 qemu-iotests: Add -nographic when starting QEMU in 119 and 120 2015-11-25 14:29:39 +01:00
119.out
120 qemu-iotests: Add -nographic when starting QEMU in 119 and 120 2015-11-25 14:29:39 +01:00
120.out
121
121.out
122
122.out
123
123.out
124 iotests/124: Add cluster_size mismatch test 2016-02-29 14:55:14 -05:00
124.out iotests/124: Add cluster_size mismatch test 2016-02-29 14:55:14 -05:00
128
128.out
129
129.out
130
130.out
131
131.out qemu-io qemu-nbd: Use error_report() etc. instead of fprintf() 2016-01-13 15:16:18 +01:00
132
132.out
133 qemu-iotests: Test reopen with node-name/driver options 2015-12-18 14:34:43 +01:00
133.out qemu-iotests: Test reopen with node-name/driver options 2015-12-18 14:34:43 +01:00
134
134.out
135
135.out
136 block: make 'stats-interval' an array of ints instead of a string 2015-11-17 18:35:57 +08:00
136.out iotests: Add test for the block device statistics 2015-11-12 16:22:46 +01:00
137
137.out qemu-iotests: fix -valgrind option for check 2015-11-11 16:55:28 +01:00
138
138.out
139 blockdev: Mark {insert, remove}-medium experimental 2015-12-11 15:39:29 +00:00
139.out iotests: Add tests for the x-blockdev-del command 2015-11-11 16:55:29 +01:00
140 qemu-iotests: 140: make description slightly more verbose 2016-02-22 16:54:14 +01:00
140.out qemu-iotests: 140: don't use IDE device 2016-02-22 16:54:14 +01:00
141 iotests: Add test for block jobs and BDS ejection 2016-02-02 17:50:46 +01:00
141.out iotests: Add test for block jobs and BDS ejection 2016-02-02 17:50:46 +01:00
142 qemu-iotests: Test cache mode option inheritance 2015-12-18 14:34:43 +01:00
142.out qemu-iotests: Test cache mode option inheritance 2015-12-18 14:34:43 +01:00
143 iotests: Add test for a nonexistent NBD export 2016-02-02 17:49:43 +01:00
143.out nbd: always query export list in fixed new style protocol 2016-02-16 17:16:11 +01:00
144 block: qemu-iotests - add test for snapshot, commit, snapshot bug 2016-02-02 18:07:27 +01:00
144.out block: qemu-iotests - add test for snapshot, commit, snapshot bug 2016-02-02 18:07:27 +01:00
145 block: Fix -incoming with snapshot=on 2016-02-22 09:49:46 +01:00
145.out block: Fix -incoming with snapshot=on 2016-02-22 09:49:46 +01:00
COPYING
Makefile
README
check
common qemu-iotests: fix -valgrind option for check 2015-11-11 16:55:28 +01:00
common.config qemu-iotests: refine common.config 2015-12-18 14:36:17 +01:00
common.filter iotests: Make _filter_nbd support more URL types 2016-02-02 17:49:42 +01:00
common.pattern
common.qemu iotests: Make redirecting qemu's stderr optional 2016-02-02 17:49:43 +01:00
common.rc qemu-iotests: fix -valgrind option for check 2015-11-11 16:55:28 +01:00
group block: Fix -incoming with snapshot=on 2016-02-22 09:49:46 +01:00
iotests.py qemu-iotests: Remove cache mode test without medium 2015-12-18 14:34:43 +01:00
nbd-fault-injector.py
qcow2.py
qed.py tests: Use Python 2.6 "except E as ..." syntax 2016-02-08 17:29:54 +01:00
socket_scm_helper.c tests: Clean up includes 2016-02-16 14:29:27 +00: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.