qemu-e2k/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 block: qemu-iotests - add check for multiplication overflow in vpc 2015-07-27 17:19:07 +02:00
.gitignore gitignore: Track common.env in iotests gitignore 2015-03-10 08:15:34 +03:00
001
001.out
002
002.out
003
003.out
004 iotests: Drop vpc from 004's and 104's format list 2015-03-10 14:02:24 +01:00
004.out
005
005.out
007 iotests: Prepare for refcount_bits option 2015-03-10 14:02:21 +01:00
007.out
008
008.out
009
009.out
010
010.out
011
011.out
012
012.out
013
013.out
014
014.out
015 iotests: Prepare for refcount_bits option 2015-03-10 14:02:21 +01:00
015.out
017
017.out opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
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 iotests: Prepare for refcount_bits option 2015-03-10 14:02:21 +01:00
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 qemu-iotests: Test unaligned sub-block zero write 2015-05-22 09:37:33 +01:00
033.out qemu-iotests: Test unaligned sub-block zero write 2015-05-22 09:37:33 +01:00
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 qemu-iotests: Reopen qcow2 with lazy-refcounts change 2015-09-14 16:51:37 +02:00
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 opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
047
047.out
048
048.out
049
049.out tests: Fix test 049 fallout from improved HMP error messages 2015-10-02 13:48:29 +02:00
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 iotests: Respect -nodefaults in tests 41 and 55 2015-09-04 20:59:48 +02:00
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 qcow2: Add refcount_bits to format-specific info 2015-03-10 14:02:20 +01:00
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 opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
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 iotests, parallels: test for write into Parallels image 2015-05-22 09:37:31 +01:00
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 iotests: Prepare for refcount_bits option 2015-03-10 14:02:21 +01:00
079.out opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
080 iotests: Prepare for refcount_bits option 2015-03-10 14:02:21 +01:00
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 opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
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 iotests: Prepare for refcount_bits option 2015-03-10 14:02:21 +01:00
089.out qcow2: Add refcount_bits to format-specific info 2015-03-10 14:02:20 +01:00
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 opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
098
098.out opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
099
099.out
100
100.out
101
101.out
102
102.out
103 iotests: qcow2 COW with minimal L2 cache size 2015-06-12 15:54:01 +02:00
103.out qemu-io qemu-nbd: Use error_report() etc. instead of fprintf() 2016-01-13 15:16:18 +01:00
104 iotests: Drop vpc from 004's and 104's format list 2015-03-10 14:02:24 +01:00
104.out
105
105.out
107
107.out
108 iotests: Prepare for refcount_bits option 2015-03-10 14:02:21 +01:00
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 iotests: Test non-self-referential qcow2 refblocks 2015-03-16 12:10:30 -04:00
115.out opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
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 iotests: Add tests for overriding BDRV_O_PROTOCOL 2015-06-12 15:54:08 +02:00
120 qemu-iotests: Add -nographic when starting QEMU in 119 and 120 2015-11-25 14:29:39 +01:00
120.out iotests: Add tests for overriding BDRV_O_PROTOCOL 2015-06-12 15:54:08 +02:00
121 iotests: Add tests for refcount table growth 2015-03-16 12:10:30 -04:00
121.out opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
122 qemu-iotests: Some qemu-img convert tests 2015-04-28 15:36:09 +02:00
122.out opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
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 iotests: Fix test 128 for password-less sudo 2015-10-02 13:48:29 +02:00
128.out iotests: add O_DIRECT alignment probing test 2015-03-10 14:02:24 +01:00
129 qemu-iotests: Test that "stop" doesn't drain block jobs 2015-04-28 15:36:09 +02:00
129.out qemu-iotests: Test that "stop" doesn't drain block jobs 2015-04-28 15:36:09 +02:00
130 qemu-iotests: s390x: fix test 130 2015-09-04 20:59:48 +02:00
130.out opts: produce valid command line in qemu_opts_print 2015-09-11 10:21:38 +03:00
131 iotests, parallels: check for incorrectly closed image in tests 2015-05-22 09:37:32 +01:00
131.out qemu-io qemu-nbd: Use error_report() etc. instead of fprintf() 2016-01-13 15:16:18 +01:00
132 qemu-iotests: Add test case for mirror with unmap 2015-07-02 10:06:23 +01:00
132.out qemu-iotests: Add test case for mirror with unmap 2015-07-02 10:06:23 +01:00
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 tests: add test case for encrypted qcow2 read/write 2015-05-22 17:08:09 +02:00
134.out tests: add test case for encrypted qcow2 read/write 2015-05-22 17:08:09 +02:00
135 block: qemu-iotests - add check for multiplication overflow in vpc 2015-07-27 17:19:07 +02:00
135.out block: qemu-iotests - add check for multiplication overflow in vpc 2015-07-27 17:19:07 +02:00
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 qemu-iotests: More qcow2 reopen tests 2015-09-14 16:51:37 +02:00
137.out qemu-iotests: fix -valgrind option for check 2015-11-11 16:55:28 +01:00
138 iotests: Add test for checking large image files 2015-09-14 16:51:37 +02:00
138.out iotests: Add test for checking large image files 2015-09-14 16:51:37 +02:00
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
check iotests: Do not suppress segfaults in bash tests 2015-09-04 20:59:48 +02:00
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
COPYING
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
Makefile
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
README
socket_scm_helper.c tests: Clean up includes 2016-02-16 14:29:27 +00: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.