qemu/tests/qemu-iotests
Fiona Ebner 12d7b3bbd3 iotests: add test for stream job with an unaligned prefetch read
Previously, bdrv_pad_request() could not deal with a NULL qiov when
a read needed to be aligned. During prefetch, a stream job will pass a
NULL qiov. Add a test case to cover this scenario.

By accident, also covers a previous race during shutdown, where block
graph changes during iteration in bdrv_flush_all() could lead to
unreferencing the wrong block driver state and an assertion failure
later.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20240322095009.346989-5-f.ebner@proxmox.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2024-03-26 14:21:26 +01:00
..
001
002
003
004
005
007
008
009
010
011
012
013
014
015
017
018
019
020
021
023
026
029
2023-09-08 13:08:52 +03:00
032
034
035
037
038
042
043
044
2022-02-01 10:51:39 +01:00
046
2023-09-08 13:08:52 +03:00
047
048
049
050
051
2022-10-27 20:13:32 +02:00
052
053
054
057
058
061
2023-09-08 13:08:52 +03:00
063
065
2023-02-01 16:52:33 +01:00
071
2023-09-08 13:08:52 +03:00
073
075
076
077
078
079
080
081
082
083
086
087
088
092
096
101
104
116
118
2023-10-31 13:51:33 +01:00
128
133
136
137
2022-02-01 10:51:39 +01:00
144
2024-02-15 16:40:06 +00:00
2024-02-15 16:40:06 +00:00
145
148
154
159
160
161
163
2022-04-25 14:30:03 +02:00
170
171
174
175
177
178
179
184
187
190
191
195
197
2023-09-08 10:06:25 -04:00
201
204
206
2021-11-23 15:39:12 +01:00
207
2022-03-22 10:50:10 +01:00
2022-03-22 10:50:10 +01:00
208
209
2022-02-01 10:51:39 +01:00
211
2022-03-22 10:14:34 +01:00
2022-03-22 10:14:34 +01:00
212
213
215
2023-09-08 13:08:52 +03:00
217
219
220
221
226
232
236
238
239
240
243
244
247
248
249
253
256
2023-10-12 14:21:43 -04:00
257
2023-10-12 14:21:43 -04:00
265
267
268
270
272
273
279
282
283
2021-12-28 15:18:59 +01:00
2021-12-28 15:18:59 +01:00
288
289
292
293
294
297
2021-11-01 11:54:59 -04:00
299
301
302
2022-02-01 10:51:39 +01:00
2022-02-01 10:51:39 +01:00
304
305
313
2023-09-08 13:08:52 +03: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@nongnu.org with a CC:
to qemu-block@nongnu.org.