You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/tests/qemu-iotests
Stefan Hajnoczi 2e88718745 iotests: fix 240
Commit 2e8e18c2e4 ("virtio-scsi: add iothread-vq-mapping parameter")
removed the limitation that virtio-scsi devices must successfully set
the AioContext on their BlockBackends. This was made possible thanks to
the QEMU multi-queue block layer.

This change broke qemu-iotests 240, which checks that adding a
virtio-scsi device with a drive that is already in another AioContext
will fail.

Update the test to take the relaxed behavior into account. I considered
removing this test case entirely, but the code coverage still seems
valuable.

Fixes: 2e8e18c2e4 ("virtio-scsi: add iothread-vq-mapping parameter")
Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Tested-by: Eric Blake <eblake@redhat.com>
Message-ID: <20250529203147.180338-1-stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
3 days ago
..
sample_images iotests: add parallels-read-bitmap test 4 years ago
tests iotests/graph-changes-while-io: add test case with removal of lower snapshot 3 days ago
001 iotests: define group in each iotest 4 years ago
001.out
002 iotests: define group in each iotest 4 years ago
002.out
003 iotests: define group in each iotest 4 years ago
003.out
004 iotests: define group in each iotest 4 years ago
004.out
005 block: Drop the sheepdog block driver 4 years ago
005.out
007 iotests: define group in each iotest 4 years ago
007.out
008 iotests: define group in each iotest 4 years ago
008.out
009 iotests: define group in each iotest 4 years ago
009.out
010 iotests: define group in each iotest 4 years ago
010.out
011 iotests: define group in each iotest 4 years ago
011.out
012 iotests: define group in each iotest 4 years ago
012.out
013 iotests: define group in each iotest 4 years ago
013.out
014 iotests: define group in each iotest 4 years ago
014.out
015 iotests: define group in each iotest 4 years ago
015.out
017 iotests: define group in each iotest 4 years ago
017.out iotests: Specify explicit backing format where sensible 5 years ago
018 iotests: define group in each iotest 4 years ago
018.out iotests: Specify explicit backing format where sensible 5 years ago
019 iotests: define group in each iotest 4 years ago
019.out iotests: Specify explicit backing format where sensible 5 years ago
020 iotests: define group in each iotest 4 years ago
020.out iotests: Add test for commit in sub directory 5 years ago
021 iotests: define group in each iotest 4 years ago
021.out
022 Updated the FSF address to <https://www.gnu.org/licenses/> 2 years ago
022.out
023 iotests: define group in each iotest 4 years ago
023.out
024 iotests/024: exclude 'backing file format' field from the output 10 months ago
024.out iotests/024: exclude 'backing file format' field from the output 10 months ago
025 iotests: update test owner contact information 3 years ago
025.out
026 iotests: define group in each iotest 4 years ago
026.out iotests/026: Move v3-exclusive test to new file 5 years ago
026.out.nocache iotests/026: Move v3-exclusive test to new file 5 years ago
027 iotests: update test owner contact information 3 years ago
027.out
028 iotests: update test owner contact information 3 years ago
028.out iotests: Use convert -n in some cases 5 years ago
029 tests/: spelling fixes 2 years ago
029.out
030 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
030.out
031 iotests: declare lack of support for compresion_type in IMGOPTS 3 years ago
031.out qcow2: Add the 'extended_l2' option and the QCOW2_INCOMPAT_EXTL2 bit 5 years ago
032 iotests: define group in each iotest 4 years ago
032.out
033 tests/qemu-iotests: Fix test 033 for running with non-file protocols 1 year ago
033.out
034 iotests: define group in each iotest 4 years ago
034.out iotests: Specify explicit backing format where sensible 5 years ago
035 iotests: define group in each iotest 4 years ago
035.out
036 iotests: update test owner contact information 3 years ago
036.out qcow2: Add the 'extended_l2' option and the QCOW2_INCOMPAT_EXTL2 bit 5 years ago
037 iotests: define group in each iotest 4 years ago
037.out iotests: Specify explicit backing format where sensible 5 years ago
038 iotests: define group in each iotest 4 years ago
038.out iotests: Specify explicit backing format where sensible 5 years ago
039 iotests: update test owner contact information 3 years ago
039.out iotests: Specify explicit backing format where sensible 5 years ago
040 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
040.out iotests: Test committing to overridden backing 5 years ago
041 iotests: Add filter_qtest() 4 months ago
041.out iotests: Add filter mirror test cases 5 years ago
042 iotests: define group in each iotest 4 years ago
042.out
043 iotests: define group in each iotest 4 years ago
043.out iotests: Specify explicit backing format where sensible 5 years ago
044 iotests: drop qemu_img_verbose() helper 3 years ago
044.out iotests: drop qemu_img_verbose() helper 3 years ago
045 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
045.out
046 tests/: spelling fixes 2 years ago
046.out iotests/046: Filter request length 4 years ago
047 iotests: define group in each iotest 4 years ago
047.out
048 iotests: define group in each iotest 4 years ago
048.out
049 iotests: define group in each iotest 4 years ago
049.out cutils: Use parse_uint in qemu_strtosz for negative rejection 2 years ago
050 iotests: define group in each iotest 4 years ago
050.out iotests: Specify explicit backing format where sensible 5 years ago
051 block: Refactor get_tmp_filename() 3 years ago
051.out monitor: do not use mb_read/mb_set for suspend_cnt 2 years ago
051.pc.out virtio-scsi: add iothread-vq-mapping parameter 3 months ago
052 iotests: define group in each iotest 4 years ago
052.out
053 iotests: define group in each iotest 4 years ago
053.out
054 iotests: define group in each iotest 4 years ago
054.out qemu-img: Flush stdout before before potential stderr messages 5 years ago
055 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
055.out iotests: Backup with different source/target size 5 years ago
056 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
056.out
057 iotests: define group in each iotest 4 years ago
057.out
058 iotests: define group in each iotest 4 years ago
058.out
059 vmdk: Don't corrupt desc file in vmdk_write_cid 2 years ago
059.out vmdk: Don't corrupt desc file in vmdk_write_cid 2 years ago
060 iotests: update test owner contact information 3 years ago
060.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
061 qcow2: Don't open data_file with BDRV_O_NO_IO 11 months ago
061.out qcow2: Don't open data_file with BDRV_O_NO_IO 11 months ago
062 iotests: update test owner contact information 3 years ago
062.out
063 iotests: define group in each iotest 4 years ago
063.out
064 iotests: update test owner contact information 3 years ago
064.out
065 qemu-img: Let info print block graph 2 years ago
065.out
066 tests/qemu-iotests: Restrict test 066 to the 'file' protocol 1 year ago
066.out
068 iotests: update test owner contact information 3 years ago
068.out
069 iotests: update test owner contact information 3 years ago
069.out iotests: Specify explicit backing format where sensible 5 years ago
070 iotests: update test owner contact information 3 years ago
070.out
071 tests/: spelling fixes 2 years ago
071.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
072 iotests: update test owner contact information 3 years ago
072.out
073 iotests: define group in each iotest 4 years ago
073.out iotests: Specify explicit backing format where sensible 5 years ago
074 iotests: update test owner contact information 3 years ago
074.out
075 iotests: define group in each iotest 4 years ago
075.out
076 iotests: define group in each iotest 4 years ago
076.out
077 iotests: define group in each iotest 4 years ago
077.out
078 iotests: define group in each iotest 4 years ago
078.out
079 iotests: define group in each iotest 4 years ago
079.out qemu-img: Flush stdout before before potential stderr messages 5 years ago
080 iotests: define group in each iotest 4 years ago
080.out qemu-img: omit errno value in error message 2 years ago
081 iotests: define group in each iotest 4 years ago
081.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
082 iotests: define group in each iotest 4 years ago
082.out iotests: bash tests: filter compression type 3 years ago
083 iotests: define group in each iotest 4 years ago
083.out
084 iotests: update test owner contact information 3 years ago
084.out
085 iotests: update test owner contact information 3 years ago
085.out block: Fail gracefully when blockdev-snapshot creates loops 4 years ago
086 iotests: define group in each iotest 4 years ago
086.out
087 iotests: Drop deprecated 'props' from object-add 4 years ago
087.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
088 iotests: define group in each iotest 4 years ago
088.out
089 iotests: update test owner contact information 3 years ago
089.out iotests: Use convert -n in some cases 5 years ago
090 iotests: update test owner contact information 3 years ago
090.out
091 iotests: update test owner contact information 3 years ago
091.out
092 iotests: define group in each iotest 4 years ago
092.out
093 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
093.out
094 iotests: update test owner contact information 3 years ago
094.out iotests: Fix _send_qemu_cmd with bash 5.1 5 years ago
095 iotests: update test owner contact information 3 years ago
095.out iotests: Fix _send_qemu_cmd with bash 5.1 5 years ago
096 iotests: define group in each iotest 4 years ago
096.out
097 iotests: update test owner contact information 3 years ago
097.out iotests: Specify explicit backing format where sensible 5 years ago
098 iotests: update test owner contact information 3 years ago
098.out iotests: Specify explicit backing format where sensible 5 years ago
099 iotests: update test owner contact information 3 years ago
099.out
101 iotests: define group in each iotest 4 years ago
101.out
102 iotests: update test owner contact information 3 years ago
102.out iotests/102: Pass $QEMU_HANDLE to _send_qemu_cmd 5 years ago
103 iotests: update test owner contact information 3 years ago
103.out
104 iotests: define group in each iotest 4 years ago
104.out
105 iotests: update test owner contact information 3 years ago
105.out
106 iotests: Filter out ZFS in several tests 1 week ago
106.out
107 iotests: update test owner contact information 3 years ago
107.out
108 tests/qemu-iotests: skip 108 when FUSE is not loaded 3 years ago
108.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
109 monitor: only run coroutine commands in qemu_aio_context 1 year ago
109.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
110 iotests: update test owner contact information 3 years ago
110.out iotests: Specify explicit backing format where sensible 5 years ago
111 iotests: update test owner contact information 3 years ago
111.out block: Error if backing file fails during creation without -u 5 years ago
112 iotests: update test owner contact information 3 years ago
112.out qemu-img: omit errno value in error message 2 years ago
113 iotests: update test owner contact information 3 years ago
113.out
114 tests/qemu-iotests: Restrict test 114 to the 'file' protocol 1 year ago
114.out qemu-img: Improve error for rebase without backing format 4 years ago
115 iotests: update test owner contact information 3 years ago
115.out
116 iotests: define group in each iotest 4 years ago
116.out iotests/116: Fix reference output 4 years ago
117 iotests: update test owner contact information 3 years ago
117.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
118 iotests: Test media change with iothreads 2 years ago
118.out iotests/118: Drop 'change' test 4 years ago
119 iotests: update test owner contact information 3 years ago
119.out
120 iotests: update test owner contact information 3 years ago
120.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
121 iotests: update test owner contact information 3 years ago
121.out
122 iotests: Test qemu-img convert of zeroed data cluster 3 years ago
122.out qemu-img: map: report compressed data blocks 2 years ago
123 iotests: update test owner contact information 3 years ago
123.out
124 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
124.out
125 iotests: Use disk_usage in more places 1 week ago
125.out qcow2: Make preallocate_co() resize the image to the correct size 5 years ago
126 iotests: update test owner contact information 3 years ago
126.out iotests: Specify explicit backing format where sensible 5 years ago
127 iotests: update test owner contact information 3 years ago
127.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
128 iotests: define group in each iotest 4 years ago
128.out
129 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
129.out
130 tests/qemu-iotests: Restrict test 130 to the 'file' protocol 1 year ago
130.out
131 tests: extend test 131 to cover availability of the write-zeroes 2 years ago
131.out tests: extend test 131 to cover availability of the write-zeroes 2 years ago
132 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
132.out
133 iotests: define group in each iotest 4 years ago
133.out iotests: Specify explicit backing format where sensible 5 years ago
134 tests/qemu-iotests: Restrict test 134 and 158 to the 'file' protocol 1 year ago
134.out iotests: filter few more luks specific create options 5 years ago
135 iotests: update test owner contact information 3 years ago
135.out
136 iotests: define group in each iotest 4 years ago
136.out
137 iotests: massive use _qcow2_dump_header 3 years ago
137.out
138 iotests: update test owner contact information 3 years ago
138.out iotests/138: Test leaks/corruptions fixed report 5 years ago
139 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
139.out
140 iotests: update test owner contact information 3 years ago
140.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
141 iotests: port 141 to Python for reliable QMP testing 1 year ago
141.out iotests: port 141 to Python for reliable QMP testing 1 year ago
142 file-posix: Fix alignment after reopen changing O_DIRECT 4 years ago
142.out file-posix: Fix alignment after reopen changing O_DIRECT 4 years ago
143 iotests: update test owner contact information 3 years ago
143.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
144 iotests: Make 144 deterministic again 1 year ago
144.out iotests: Make 144 deterministic again 1 year ago
145 iotests: define group in each iotest 4 years ago
145.out
146 iotests: update test owner contact information 3 years ago
146.out qemu-img: map: report compressed data blocks 2 years ago
147 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
147.out
148 iotests: define group in each iotest 4 years ago
148.out
149 tests/qemu-iotests/149: Use more inclusive language in this test 2 years ago
149.out tests/qemu-iotests/149: Use more inclusive language in this test 2 years ago
150 iotests: update test owner contact information 3 years ago
150.out.qcow2
150.out.raw
151 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
151.out iotests/151: Test active requests on mirror start 3 years ago
152 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
152.out
153 iotests: update test owner contact information 3 years ago
153.out iotests: Fix _send_qemu_cmd with bash 5.1 5 years ago
154 iotests: define group in each iotest 4 years ago
154.out qemu-img: map: report compressed data blocks 2 years ago
155 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
155.out iotests: Add iothread cases to 155 5 years ago
156 tests/qemu-iotests: Restrict test 156 to the 'file' protocol 1 year ago
156.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
157 tests/qemu-iotests: Test 157 and 227 require virtio-blk 1 year ago
157.out
158 tests/qemu-iotests: Restrict test 134 and 158 to the 'file' protocol 1 year ago
158.out iotests: Specify explicit backing format where sensible 5 years ago
159 iotests: define group in each iotest 4 years ago
159.out
160 iotests: define group in each iotest 4 years ago
160.out
161 iotests: define group in each iotest 4 years ago
161.out iotests: Fix _send_qemu_cmd with bash 5.1 5 years ago
162 Revert "iotests: Stop NBD server in test 162 before starting the next one" 2 months ago
162.out util: include the target address in socket connect failures 5 years ago
163 iotests/163: Fix broken qemu-io invocation 3 years ago
163.out
165 iotests: Add filter_qtest() 4 months ago
165.out
170 iotests: define group in each iotest 4 years ago
170.out
171 iotests: define group in each iotest 4 years ago
171.out
172 tests/qemu-iotests/172: Run QEMU with -vga none and -nic none 2 years ago
172.out hw/boards: Do not create unusable default if=sd drives 4 months ago
173 iotests: update test owner contact information 3 years ago
173.out iotests: Fix _send_qemu_cmd with bash 5.1 5 years ago
174 iotests: define group in each iotest 4 years ago
174.out
175 iotests: Filter out ZFS in several tests 1 week ago
175.out iotests: fix some whitespaces in test output files 4 years ago
176 iotests: update test owner contact information 3 years ago
176.out qemu-img: Fix Column Width and Improve Formatting in snapshot list 1 year ago
177 iotests: define group in each iotest 4 years ago
177.out iotests: Specify explicit backing format where sensible 5 years ago
178 iotests/178: Pass value to invalid option 4 years ago
178.out.qcow2 cutils: Use parse_uint in qemu_strtosz for negative rejection 2 years ago
178.out.raw cutils: Use parse_uint in qemu_strtosz for negative rejection 2 years ago
179 iotests: define group in each iotest 4 years ago
179.out qemu-img: map: report compressed data blocks 2 years ago
181 docs tests: Fix use of migrate_set_parameter 2 years ago
181.out
182 iotests: update test owner contact information 3 years ago
182.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
184 iotests: Drop deprecated 'props' from object-add 4 years ago
184.out block: Add 'active' field to BlockDeviceInfo 4 months ago
185 monitor: only run coroutine commands in qemu_aio_context 1 year ago
185.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
186 tests/qemu-iotests: Require virtio-scsi-pci 2 years ago
186.out iotests: make _filter_qom_path more strict 5 years ago
187 iotests: define group in each iotest 4 years ago
187.out
188 tests/qemu-iotests: Restrict tests that use --image-opts to the 'file' protocol 1 year ago
188.out iotests: filter few more luks specific create options 5 years ago
189 tests/qemu-iotests: Restrict tests that use --image-opts to the 'file' protocol 1 year ago
189.out iotests: Specify explicit backing format where sensible 5 years ago
190 iotests: define group in each iotest 4 years ago
190.out qcow2: Expose bitmaps' size during measure 5 years ago
191 iotests: define group in each iotest 4 years ago
191.out block: Add 'active' field to BlockDeviceInfo 4 months ago
192 iotests: update test owner contact information 3 years ago
192.out
194 mirror: Skip pre-zeroing destination if it is already zero 3 weeks ago
194.out mirror: Skip pre-zeroing destination if it is already zero 3 weeks ago
195 iotests: define group in each iotest 4 years ago
195.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
196 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
196.out
197 trivial patches for 2023-09-08 2 years ago
197.out qemu-iotests/197: use more generic commands for formats other than qcow2 2 years ago
198 tests/qemu-iotests: Restrict tests that use --image-opts to the 'file' protocol 1 year ago
198.out iotests: adapt to output change for recently introduced 'detached header' field 1 year ago
200 iotests: update test owner contact information 3 years ago
200.out iotests: Derive image names from $TEST_IMG 5 years ago
201 iotests: define group in each iotest 4 years ago
201.out
202 block: remove outdated AioContext locking comments 1 year ago
202.out
203 block: remove outdated AioContext locking comments 1 year ago
203.out migration: Always set DEVICE state 4 months ago
204 iotests: define group in each iotest 4 years ago
204.out qemu-img: Use child access functions 5 years ago
205 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
205.out
206 iotests: Use aes-128-cbc 4 years ago
206.out iotests: adapt to output change for recently introduced 'detached header' field 1 year ago
207 iotests/207: Filter host fingerprint 3 years ago
207.out iotests/207: Filter host fingerprint 3 years ago
208 iotests: define group in each iotest 4 years ago
208.out
209 iotests: drop qemu_img_verbose() helper 3 years ago
209.out qemu-img: map: report compressed data blocks 2 years ago
210 iotests.py: img_info_log(): rename imgopts argument 3 years ago
210.out crypto: Introduce 'detached-header' field in QCryptoBlockInfoLUKS 1 year ago
211 iotests: add qemu_img_map() function 3 years ago
211.out tests/qemu-iotests/211.out: Update to expect MapEntry 'compressed' field 8 months ago
212 iotests: define group in each iotest 4 years ago
212.out block: Clarify error messages pertaining to 'node-name' 4 years ago
213 iotests: define group in each iotest 4 years ago
213.out block: Clarify error messages pertaining to 'node-name' 4 years ago
214 iotests/106, 214, 308: Read only one size line 2 years ago
214.out
215 tests/: spelling fixes 2 years ago
215.out
216 iotests: remove qemu_io_silent() and qemu_io_silent_check(). 3 years ago
216.out
217 iotests: define group in each iotest 4 years ago
217.out
218 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
218.out
219 iotests: 219: prepare for backup over block-copy 4 years ago
219.out
220 iotests: define group in each iotest 4 years ago
220.out
221 iotests: Filter out ZFS in several tests 1 week ago
221.out qemu-img: map: report compressed data blocks 2 years ago
223 iotests/223: check new possibility of exporting bitmaps by node/name 3 years ago
223.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
224 iotests: remove qemu_io_silent() and qemu_io_silent_check(). 3 years ago
224.out
225 iotests: update test owner contact information 3 years ago
225.out iotests: Specify explicit backing format where sensible 5 years ago
226 iotests: define group in each iotest 4 years ago
226.out block: remove support for using "file" driver with block/char devices 4 years ago
227 tests/qemu-iotests: Test 157 and 227 require virtio-blk 1 year ago
227.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
228 iotests: update test owner contact information 3 years ago
228.out block: Leave BDS.backing_{file,format} constant 5 years ago
229 iotests: update test owner contact information 3 years ago
229.out iotests: Fix _send_qemu_cmd with bash 5.1 5 years ago
231 iotests: update test owner contact information 3 years ago
231.out block/rbd: Add an escape-aware strchr helper 4 years ago
232 iotests: define group in each iotest 4 years ago
232.out
233 tests/qemu-iotests: validate NBD TLS with UNIX sockets and PSK 3 years ago
233.out iotests: fix expected output from gnutls 9 months ago
234 iotests: replace unchecked calls to qemu_img_pipe() 3 years ago
234.out migration: Always set DEVICE state 4 months ago
235 iotests: add 'qemu' package location to PYTHONPATH in testenv 4 years ago
235.out
236 block: remove 'dirty-bitmaps' field from 'BlockInfo' struct 4 years ago
236.out block: remove dirty bitmaps 'status' field 4 years ago
237 iotests: remove remaining calls to qemu_img_pipe() 3 years ago
237.out iotests: remove remaining calls to qemu_img_pipe() 3 years ago
238 iotests: Revert "iotests: use -ccw on s390x for 040, 139, and 182" 4 years ago
238.out
239 iotests: define group in each iotest 4 years ago
239.out
240 iotests: fix 240 3 days ago
240.out iotests: fix 240 3 days ago
241 tests/qemu-iotests: introduce filter for qemu-nbd export list 3 years ago
241.out nbd/client: Request extended headers during negotiation 2 years ago
242 iotests: replace calls to log(qemu_io(...)) with qemu_io_log() 3 years ago
242.out iotests.py: filter compression type out 3 years ago
243 iotests: define group in each iotest 4 years ago
243.out
244 iotests/244: Don't store data-file with protocol in image 11 months ago
244.out qemu-img: map: report compressed data blocks 2 years ago
245 qemu-iotest/245: Add missing discard=unmap 11 months ago
245.out iotests/245: Check if 'compress' driver is available 2 years ago
246 iotests: specify some unsupported_imgopts for python iotests 3 years ago
246.out block: remove dirty bitmaps 'status' field 4 years ago
247 iotests: define group in each iotest 4 years ago
247.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
248 block: Make blockdev-reopen stable API 4 years ago
248.out block: Make blockdev-reopen stable API 4 years ago
249 iotests: define group in each iotest 4 years ago
249.out block: Clarify error messages pertaining to 'node-name' 4 years ago
250 iotests/common.rc: add disk_usage function 3 weeks ago
250.out
251 iotests: update test owner contact information 3 years ago
251.out
252 iotests: update test owner contact information 3 years ago
252.out qemu-img: map: report compressed data blocks 2 years ago
253 iotests: Filter out ZFS in several tests 1 week ago
253.out qemu-img: map: report compressed data blocks 2 years ago
254 iotests: specify some unsupported_imgopts for python iotests 3 years ago
254.out block: remove dirty bitmaps 'status' field 4 years ago
255 iotests: replace calls to log(qemu_io(...)) with qemu_io_log() 3 years ago
255.out iotests: replace qemu_img_log('create', ...) calls 3 years ago
256 python/qemu: rename command() to cmd() 2 years ago
256.out
257 python/qemu: rename command() to cmd() 2 years ago
257.out block/copy-before-write: create block_copy bitmap in filter node 1 year ago
258 iotests: remove qemu_io_silent() and qemu_io_silent_check(). 3 years ago
258.out iotests: Drop deprecated 'props' from object-add 4 years ago
259 iotests: update test owner contact information 3 years ago
259.out iotests/259: Fix reference output 5 years ago
260 iotests: specify some unsupported_imgopts for python iotests 3 years ago
260.out
261 qemu-img: Fix Column Width and Improve Formatting in snapshot list 1 year ago
261.out qcow2: introduce icount field for snapshots 5 years ago
262 tests/qemu-iotests/262: Check for availability of "blkverify" first 2 years ago
262.out migration: Always set DEVICE state 4 months ago
263 tests/qemu-iotests: Fix some tests that use --image-opts for other protocols 1 year ago
263.out iotests: filter few more luks specific create options 5 years ago
264 iotests/264: Use iotests.sock_dir for socket creation 1 year ago
264.out iotests/264: add backup-cancel test-case 4 years ago
265 iotests: define group in each iotest 4 years ago
265.out
266 iotests: make qemu_img_log and img_info_log raise on error 3 years ago
266.out
267 iotests: define group in each iotest 4 years ago
267.out qemu-img: Fix Column Width and Improve Formatting in snapshot list 1 year ago
268 iotests: define group in each iotest 4 years ago
268.out
270 iotests/270: Don't store data-file with json: prefix in image 11 months ago
270.out iotests: Specify explicit backing format where sensible 5 years ago
271 iotests: add tests for "qemu-img rebase" with compression 2 years ago
271.out iotests: add tests for "qemu-img rebase" with compression 2 years ago
272 iotests: define group in each iotest 4 years ago
272.out
273 iotests: define group in each iotest 4 years ago
273.out block: Add 'active' field to BlockDeviceInfo 4 months ago
274 iotests: replace qemu_img_log('create', ...) calls 3 years ago
274.out qemu-img: map: report compressed data blocks 2 years ago
277 iotests/277: Use iotests.sock_dir for socket creation 1 year ago
277.out
279 iotests: define group in each iotest 4 years ago
279.out iotests: Specify explicit backing format where sensible 5 years ago
280 iotests: replace qemu_img_log('create', ...) calls 3 years ago
280.out migration: Always set DEVICE state 4 months ago
281 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
281.out iotests/281: Let NBD connection yield in iothread 3 years ago
282 iotests: define group in each iotest 4 years ago
282.out qemu-img: Flush stdout before before potential stderr messages 5 years ago
283 blockjob: drop BlockJob.blk field 3 years ago
283.out blockjob: drop BlockJob.blk field 3 years ago
284 tests/qemu-iotests: Fix some tests that use --image-opts for other protocols 1 year ago
284.out iotests: filter few more luks specific create options 5 years ago
286 qemu-img: Fix Column Width and Improve Formatting in snapshot list 1 year ago
286.out qemu-img: Fix Column Width and Improve Formatting in snapshot list 1 year ago
287 iotests: bash tests: filter compression type 3 years ago
287.out iotests: fix some whitespaces in test output files 4 years ago
288 iotests: define group in each iotest 4 years ago
288.out iotests: add 288 luks qemu-img measure test 5 years ago
289 iotests: define group in each iotest 4 years ago
289.out iotests/026: Move v3-exclusive test to new file 5 years ago
290 iotests: declare lack of support for compresion_type in IMGOPTS 3 years ago
290.out iotests: Specify explicit backing format where sensible 5 years ago
292 iotests: define group in each iotest 4 years ago
292.out qcow2: Avoid integer wraparound in qcow2_co_truncate() 5 years ago
293 iotests: define group in each iotest 4 years ago
293.out iotests: qemu-img tests for luks key management 5 years ago
294 iotests: define group in each iotest 4 years ago
294.out iotests: qemu-img tests for luks key management 5 years ago
295 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
295.out qemu-iotests: do not buffer the test output 4 years ago
296 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
296.out crypto: perform permission checks under BQL 3 years ago
297 iotests: split linters.py out from 297 4 years ago
297.out iotests/297: Rewrite in Python and extend reach 4 years ago
298 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
298.out iotests: add 298 to test new preallocate filter driver 5 years ago
299 iotests: define group in each iotest 4 years ago
299.out iotests: test shutdown when bitmap is exported through NBD 5 years ago
300 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
300.out qemu-iotests: 300: Add test case for modifying persistence of bitmap 4 years ago
301 qemu-img: Require -F with -b backing image 4 years ago
301.out qemu-img: Require -F with -b backing image 4 years ago
302 iotest: Unbreak 302 with python 3.13 3 months ago
302.out qemu-img: Change info key names for protocol nodes 2 years ago
303 iotests: replace calls to log(qemu_io(...)) with qemu_io_log() 3 years ago
303.out iotest 303: explicit compression type 3 years ago
304 iotests: define group in each iotest 4 years ago
304.out iotests: add test for unaligned granularity bitmap backup 5 years ago
305 iotests: define group in each iotest 4 years ago
305.out qcow2: Fix removal of list members from BDRVQcow2State.cluster_allocs 5 years ago
307 iotests/307: Test iothread conflict for exports 4 years ago
307.out nbd/server: Add FLAG_PAYLOAD support to CMD_BLOCK_STATUS 2 years ago
308 iotests: Filter out ZFS in several tests 1 week ago
308.out monitor: only run coroutine commands in qemu_aio_context 1 year ago
310 iotests: remove qemu_io_silent() and qemu_io_silent_check(). 3 years ago
310.out iotests: add #310 to test bottom node in COR driver 4 years ago
312 tests/qemu-iotests/312: Mark "quorum" as required driver 2 years ago
312.out iotests: Fix _send_qemu_cmd with bash 5.1 5 years ago
313 iotests: Add test for the regression fixed in c8bf9a9169 4 years ago
313.out iotests: Add test for the regression fixed in c8bf9a9169 4 years ago
314 iotests: add tests for "qemu-img rebase" with compression 2 years ago
314.out iotests: add tests for "qemu-img rebase" with compression 2 years ago
Makefile
README
check iotests: Add `vvfat` tests 10 months ago
common.filter migration: Remove 'blk/-b' option from migrate commands 1 year ago
common.nbd
common.pattern iotests/common.pattern: Quote echos 5 years ago
common.qemu qemu-iotests: add gdbserver option to script tests too 4 years ago
common.rc iotests: Filter out ZFS in several tests 1 week ago
common.tls tests/qemu-iotests: validate NBD TLS with UNIX sockets and PSK 3 years ago
fat16.py iotests: Add `vvfat` tests 10 months ago
findtests.py iotests: add findtests.py 4 years ago
iotests.py mirror: Skip pre-zeroing destination if it is already zero 3 weeks ago
linters.py iotests: use the correct python to run linters 2 years ago
meson.build configure, meson: rename targetos to host_os 1 year ago
mypy.ini iotests/297: Have mypy ignore unused ignores 3 years ago
nbd-fault-injector.py iotests: Replace deprecated ConfigParser.readfp() 5 years ago
pylintrc python: disable too-many-positional-arguments warning 6 months ago
qcow2.py qcow2.py: Introduce '-j' key to dump in JSON format 5 years ago
qcow2_format.py qcow2_format.py: support dumping metadata in JSON format 5 years ago
qed.py
testenv.py Revert "Remove the unused sh4eb target" 7 months ago
testrunner.py iotests: Change imports for Python 3.13 11 months ago

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@nongnu.org with a CC:
to qemu-block@nongnu.org.