qemu/tests/qemu-iotests
Stefan Reiter 1f3765b652 iotests: add test for unaligned granularity bitmap backup
Start a VM with a 4097 byte image attached, add a 4096 byte granularity
dirty bitmap, mark it dirty, and then do a backup.

This used to run into an assert and fail, check that it works as
expected and also check the created image to ensure that misaligned
backups in general work correctly.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
Message-Id: <20200810095523.15071-2-s.reiter@proxmox.com>
[mreitz: Drop bitmap, and do not write past the image's end]
Signed-off-by: Max Reitz <mreitz@redhat.com>
2020-08-11 09:29:31 +02:00
..
001
2020-05-05 13:17:36 +02:00
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
044
045
047
048
049
052
2020-05-05 13:17:36 +02:00
053
054
057
058
062
063
064
065
2020-05-13 14:20:31 +02:00
066
067
068
070
071
072
073
2020-07-17 14:20:57 +02:00
074
075
076
077
078
079
080
2020-05-13 14:20:31 +02:00
081
083
084
086
087
2020-07-06 08:49:28 +02:00
088
090
091
2020-05-08 13:26:35 +02:00
092
093
094
096
099
101
102
103
104
105
107
108
111
112
114
2020-07-17 14:20:57 +02:00
115
116
117
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
140
144
145
147
148
2020-05-08 13:26:35 +02:00
149
2020-05-05 13:17:36 +02:00
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
2020-06-23 16:07:07 +02:00
173
174
178
2020-07-06 08:49:28 +02:00
2020-05-28 13:15:23 -05:00
181
182
183
184
185
186
187
188
2020-07-06 08:49:28 +02:00
192
196
197
2020-07-28 15:28:56 +02:00
2020-07-28 15:28:56 +02:00
200
201
202
2020-05-05 13:17:36 +02:00
203
2020-05-05 13:17:36 +02:00
205
206
2020-07-06 08:49:28 +02:00
207
2020-05-05 13:17:36 +02:00
208
2020-05-05 13:17:36 +02:00
209
2020-05-05 13:17:36 +02:00
210
2020-05-05 13:17:36 +02:00
211
2020-05-05 13:17:36 +02:00
212
2020-05-05 13:17:36 +02:00
213
2020-05-05 13:17:36 +02:00
214
215
217
218
2020-05-05 13:17:36 +02:00
219
2020-05-05 13:17:36 +02:00
220
221
222
2020-05-05 13:17:36 +02:00
226
227
229
2020-06-17 16:21:21 +02:00
231
232
233
234
2020-05-05 13:17:36 +02:00
235
2020-05-05 13:17:36 +02:00
236
2020-05-05 13:17:36 +02:00
237
2020-05-05 13:17:36 +02:00
238
2020-05-05 13:17:36 +02:00
239
240
241
242
2020-05-05 13:17:36 +02:00
246
2020-05-05 13:17:36 +02:00
247
248
2020-05-05 13:17:36 +02:00
250
251
253
254
2020-05-05 13:17:36 +02:00
255
2020-05-05 13:17:36 +02:00
256
2020-05-05 13:17:36 +02:00
258
2020-05-05 13:17:36 +02:00
259
260
2020-05-05 13:17:36 +02:00
261
262
2020-05-05 13:17:36 +02:00
263
2020-07-06 08:49:28 +02:00
265
266
268
272
277
2020-05-05 13:17:36 +02:00
280
2020-05-05 13:17:36 +02:00
281
282
2020-07-17 14:20:57 +02:00
284
2020-07-06 08:49:28 +02:00
286
288
289
291
2020-06-24 10:00:04 +02:00
292
2020-06-17 16:21:21 +02:00
295
2020-07-06 08:49:28 +02:00
2020-07-06 08:49:28 +02:00
296
2020-07-21 10:49:02 +02:00
297
2020-05-18 19:05:25 +02:00
301
2020-07-14 15:18:59 +02:00
2020-07-17 14:20:57 +02:00
2020-07-17 14:20:57 +02:00
2020-07-28 09:54:43 -05: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.