qemu/tests/qemu-iotests
Paolo Bonzini d8a18da56d qemu-iotests, qtest: rewrite test 067 as a qtest
Test 067 from qemu-iotests is executing QMP commands to hotplug
and hot-unplug disks, devices and blockdevs.  Because the power
of the text-based test harness is limited, it is actually limiting
the checks that it does, for example by skipping DEVICE_DELETED
events.

tests/qtest already has a similar test, drive_del-test.c.
We can merge them, and even reuse some of the existing code in
drive_del-test.c.  This will improve the quality of the test by
covering DEVICE_DELETED events and testing multiple architectures
(therefore covering multiple PCI hotplug mechanisms as well as s390x
virtio-ccw).

The only difference is that the new test will always use null-co:// for
the medium rather than qcow2 or raw, but this should be irrelevant for
what the test is covering.  For example there are no "qemu-img check"
runs in 067 that would check that the file is properly closed.

The new tests requires PCI hot-plug support, so drive_del-test
is moved from qemu-system-ppc to qemu-system-ppc64.

Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-10-12 11:50:50 -04:00
..
001
002
003
004
005
007
008
009
010
011
012
013
014
015
017
2020-07-17 14:20:57 +02:00
021
022
023
025
026
027
029
2020-07-17 14:20:57 +02:00
031
032
033
035
036
041
2020-09-08 13:40:49 +02:00
2020-09-08 13:40:49 +02:00
044
045
047
048
052
053
054
055
057
058
2020-09-02 16:32:14 -05:00
062
063
064
066
068
070
071
072
073
2020-07-17 14:20:57 +02:00
074
075
076
077
078
079
080
081
083
084
086
087
088
090
091
092
093
094
096
099
101
102
103
104
105
107
108
109
111
112
113
114
2020-07-17 14:20:57 +02:00
115
116
117
118
119
120
121
123
124
128
130
2020-07-17 14:20:57 +02:00
131
132
134
2020-07-17 14:20:57 +02:00
135
136
137
138
143
144
145
146
147
148
149
150
151
152
156
2020-07-17 14:20:57 +02:00
157
158
2020-07-17 14:20:57 +02:00
159
160
162
163
165
170
171
172
173
174
178
181
182
183
185
186
187
188
190
192
194
2020-09-15 11:05:12 +02:00
196
197
2020-07-28 15:28:56 +02:00
2020-07-28 15:28:56 +02:00
200
201
202
203
2020-09-07 12:31:31 +02:00
205
206
207
208
2020-09-15 11:05:12 +02:00
209
210
211
212
213
214
215
217
218
219
220
221
222
2020-09-15 11:05:12 +02:00
223
226
227
229
231
232
233
234
235
236
237
238
239
240
241
242
246
247
248
250
253
254
255
256
257
2020-09-15 11:05:12 +02:00
258
259
2020-09-02 16:32:14 -05:00
260
262
263
265
266
268
272
277
280
281
282
2020-07-17 14:20:57 +02:00
283
284
286
287
288
289
292
293
294
295
296
2020-07-21 10:49:02 +02:00
297
301
2020-07-14 15:18:59 +02:00
303
2020-08-21 08:56:09 -05:00
307
2020-10-02 15:46:40 +02:00
2020-09-16 08:41:06 +02:00
2020-07-17 14:20:57 +02:00
2020-09-30 19:09:19 +02: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.