ati-vga: Fix check for blt outside vram
[qemu/ar7.git] / tests / qemu-iotests / 060.out
blobe42bf8c5a99d8a641cacd47ca2b00db3bd5b30f7
1 QA output created by 060
3 === Testing L2 reference into L1 ===
5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
6 ERROR cluster 3 refcount=1 reference=3
8 1 errors were found on the image.
9 Data may be corrupted, or further writes to the image may corrupt it.
10 incompatible_features     0x0
11 qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L1 table); further corruption events will be suppressed
12 write failed: Input/output error
13 incompatible_features     0x2
14 image: TEST_DIR/t.IMGFMT
15 file format: IMGFMT
16 virtual size: 64 MiB (67108864 bytes)
17 cluster_size: 65536
18 Format specific information:
19     compat: 1.1
20     lazy refcounts: false
21     refcount bits: 16
22     corrupt: true
23 qemu-io: can't open device TEST_DIR/t.IMGFMT: IMGFMT: Image is corrupt; cannot be opened read/write
24 no file open, try 'help open'
25 read 512/512 bytes at offset 0
26 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
28 === Testing cluster data reference into refcount block ===
30 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
31 ERROR refcount block 0 refcount=2
32 ERROR cluster 2 refcount=1 reference=2
34 2 errors were found on the image.
35 Data may be corrupted, or further writes to the image may corrupt it.
36 incompatible_features     0x0
37 qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with refcount block); further corruption events will be suppressed
38 write failed: Input/output error
39 incompatible_features     0x2
40 ERROR refcount block 0 refcount=2
41 ERROR cluster 2 refcount=1 reference=2
42 Rebuilding refcount structure
43 Repairing cluster 1 refcount=1 reference=0
44 Repairing cluster 2 refcount=2 reference=1
45 The following inconsistencies were found and repaired:
47     0 leaked clusters
48     2 corruptions
50 Double checking the fixed image now...
51 No errors were found on the image.
52 incompatible_features     0x0
53 wrote 512/512 bytes at offset 0
54 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
55 incompatible_features     0x0
57 === Testing cluster data reference into inactive L2 table ===
59 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
60 wrote 512/512 bytes at offset 0
61 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
62 wrote 512/512 bytes at offset 0
63 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
64 ERROR cluster 4 refcount=1 reference=2
65 Leaked cluster 9 refcount=1 reference=0
67 1 errors were found on the image.
68 Data may be corrupted, or further writes to the image may corrupt it.
70 1 leaked clusters were found on the image.
71 This means waste of disk space, but no harm to data.
72 incompatible_features     0x0
73 qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with inactive L2 table); further corruption events will be suppressed
74 write failed: Input/output error
75 incompatible_features     0x2
76 ERROR cluster 4 refcount=1 reference=2
77 Leaked cluster 9 refcount=1 reference=0
78 Repairing cluster 4 refcount=1 reference=2
79 Repairing cluster 9 refcount=1 reference=0
80 Repairing OFLAG_COPIED data cluster: l2_entry=8000000000040000 refcount=2
81 The following inconsistencies were found and repaired:
83     1 leaked clusters
84     2 corruptions
86 Double checking the fixed image now...
87 No errors were found on the image.
88 incompatible_features     0x0
89 wrote 512/512 bytes at offset 0
90 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
91 incompatible_features     0x0
92 read 512/512 bytes at offset 0
93 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
94 No errors were found on the image.
95 read 512/512 bytes at offset 0
96 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
98 === Testing overlap while COW is in flight ===
100 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
101 wrote 65536/65536 bytes at offset 0
102 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
103 wrote 65536/65536 bytes at offset 536870912
104 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
105 discard 65536/65536 bytes at offset 0
106 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
107 qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L2 table); further corruption events will be suppressed
108 blkdebug: Suspended request '0'
109 write failed: Input/output error
110 blkdebug: Resuming request '0'
111 aio_write failed: No medium found
113 === Testing unallocated image header ===
115 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
116 wrote 65536/65536 bytes at offset 0
117 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
118 qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with qcow2_header); further corruption events will be suppressed
119 write failed: Input/output error
121 === Testing unaligned L1 entry ===
123 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
124 wrote 65536/65536 bytes at offset 0
125 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
126 qcow2: Marking image as corrupt: L2 table offset 0x42a00 unaligned (L1 index: 0); further corruption events will be suppressed
127 read failed: Input/output error
128 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
129 wrote 65536/65536 bytes at offset 0
130 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
131 qcow2: Marking image as corrupt: L2 table offset 0x42a00 unaligned (L1 index: 0); further corruption events will be suppressed
132 qemu-img: Failed to turn zero into data clusters: Input/output error
134 === Testing unaligned L2 entry ===
136 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
137 wrote 65536/65536 bytes at offset 0
138 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
139 qcow2: Marking image as corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed
140 read failed: Input/output error
142 === Testing unaligned pre-allocated zero cluster ===
144 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
145 wrote 65536/65536 bytes at offset 0
146 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
147 qcow2: Marking image as corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed
148 qemu-img: Failed to turn zero into data clusters: Input/output error
150 === Testing unaligned reftable entry ===
152 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
153 qcow2: Marking image as corrupt: Refblock offset 0x22a00 unaligned (reftable index: 0); further corruption events will be suppressed
154 write failed: Input/output error
156 === Testing non-fatal corruption on freeing ===
158 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
159 wrote 65536/65536 bytes at offset 0
160 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
161 qcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed
162 discard 65536/65536 bytes at offset 0
163 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
165 === Testing read-only corruption report ===
167 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
168 wrote 65536/65536 bytes at offset 0
169 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
170 qcow2: Image is corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further non-fatal corruption events will be suppressed
171 read failed: Input/output error
172 read failed: Input/output error
174 === Testing non-fatal and then fatal corruption report ===
176 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
177 wrote 131072/131072 bytes at offset 0
178 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
179 qcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed
180 qcow2: Marking image as corrupt: Cluster allocation offset 0x62a00 unaligned (L2 offset: 0x40000, L2 index: 0x1); further corruption events will be suppressed
181 discard 65536/65536 bytes at offset 0
182 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
183 read failed: Input/output error
185 === Testing empty refcount table ===
187 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
188 qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with refcount table); further corruption events will be suppressed
189 write failed: Input/output error
190 ERROR cluster 0 refcount=0 reference=1
191 ERROR cluster 1 refcount=0 reference=1
192 ERROR cluster 3 refcount=0 reference=1
193 Rebuilding refcount structure
194 Repairing cluster 1 refcount=1 reference=0
195 The following inconsistencies were found and repaired:
197     0 leaked clusters
198     3 corruptions
200 Double checking the fixed image now...
201 No errors were found on the image.
203 === Testing empty refcount table with valid L1 and L2 tables ===
205 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
206 wrote 65536/65536 bytes at offset 0
207 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
208 qcow2: Marking image as corrupt: Preventing invalid allocation of refcount block at offset 0; further corruption events will be suppressed
209 write failed: Input/output error
210 ERROR cluster 0 refcount=0 reference=1
211 ERROR cluster 1 refcount=0 reference=1
212 ERROR cluster 3 refcount=0 reference=1
213 ERROR cluster 4 refcount=0 reference=1
214 ERROR cluster 5 refcount=0 reference=1
215 Rebuilding refcount structure
216 Repairing cluster 1 refcount=1 reference=0
217 The following inconsistencies were found and repaired:
219     0 leaked clusters
220     5 corruptions
222 Double checking the fixed image now...
223 No errors were found on the image.
225 === Testing empty refcount block ===
227 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
228 qcow2: Marking image as corrupt: Preventing invalid allocation of L2 table at offset 0; further corruption events will be suppressed
229 write failed: Input/output error
230 ERROR cluster 0 refcount=0 reference=1
231 ERROR cluster 1 refcount=0 reference=1
232 ERROR cluster 2 refcount=0 reference=1
233 ERROR cluster 3 refcount=0 reference=1
234 Rebuilding refcount structure
235 Repairing cluster 1 refcount=1 reference=0
236 Repairing cluster 2 refcount=1 reference=0
237 The following inconsistencies were found and repaired:
239     0 leaked clusters
240     4 corruptions
242 Double checking the fixed image now...
243 No errors were found on the image.
245 === Testing empty refcount block with compressed write ===
247 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
248 wrote 65536/65536 bytes at offset 65536
249 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
250 qcow2: Marking image as corrupt: Preventing invalid allocation of compressed cluster at offset 0; further corruption events will be suppressed
251 write failed: Input/output error
252 ERROR cluster 0 refcount=0 reference=1
253 ERROR cluster 1 refcount=0 reference=1
254 ERROR cluster 2 refcount=0 reference=1
255 ERROR cluster 3 refcount=0 reference=1
256 Rebuilding refcount structure
257 Repairing cluster 1 refcount=1 reference=0
258 Repairing cluster 2 refcount=1 reference=0
259 The following inconsistencies were found and repaired:
261     0 leaked clusters
262     4 corruptions
264 Double checking the fixed image now...
265 No errors were found on the image.
267 === Testing zero refcount table size ===
269 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
270 qemu-io: can't open device TEST_DIR/t.IMGFMT: Image does not contain a reference count table
271 ERROR cluster 0 refcount=0 reference=1
272 ERROR cluster 3 refcount=0 reference=1
273 Rebuilding refcount structure
274 The following inconsistencies were found and repaired:
276     0 leaked clusters
277     2 corruptions
279 Double checking the fixed image now...
280 No errors were found on the image.
282 === Testing incorrect refcount table offset ===
284 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
285 qcow2: Marking image as corrupt: Preventing invalid allocation of L2 table at offset 0; further corruption events will be suppressed
286 write failed: Input/output error
288 === Testing dirty corrupt image ===
290 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
291 ERROR refcount block 0 is not cluster aligned; refcount table entry corrupted
292 IMGFMT: Marking image as corrupt: Refblock offset 0xffff2a00 unaligned (reftable index: 0); further corruption events will be suppressed
293 Can't get refcount for cluster 0: Input/output error
294 Can't get refcount for cluster 1: Input/output error
295 Can't get refcount for cluster 2: Input/output error
296 Can't get refcount for cluster 3: Input/output error
297 Rebuilding refcount structure
298 Repairing cluster 1 refcount=1 reference=0
299 qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not repair dirty image: Input/output error
300 --- Repairing ---
301 Leaked cluster 1 refcount=1 reference=0
302 Repairing cluster 1 refcount=1 reference=0
303 The following inconsistencies were found and repaired:
305     1 leaked clusters
306     0 corruptions
308 Double checking the fixed image now...
309 No errors were found on the image.
311 === Writing to an unaligned preallocated zero cluster ===
313 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
314 wrote 65536/65536 bytes at offset 0
315 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
316 discard 65536/65536 bytes at offset 0
317 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
318 qcow2: Marking image as corrupt: Preallocated zero cluster offset 0x2a00 unaligned (guest offset: 0); further corruption events will be suppressed
319 write failed: Input/output error
320 --- Repairing ---
321 Repairing offset=2a00: Preallocated zero cluster is not properly aligned; L2 entry corrupted.
322 The following inconsistencies were found and repaired:
324     0 leaked clusters
325     1 corruptions
327 Double checking the fixed image now...
328 No errors were found on the image.
330 === Discarding with an unaligned refblock ===
332 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
333 wrote 131072/131072 bytes at offset 0
334 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
335 qcow2: Marking image as corrupt: Refblock offset 0x2a00 unaligned (reftable index: 0); further corruption events will be suppressed
336 qcow2_free_clusters failed: Input/output error
337 discard failed: No medium found
338 --- Repairing ---
339 ERROR refcount block 0 is not cluster aligned; refcount table entry corrupted
340 qcow2: Marking image as corrupt: Refblock offset 0x2a00 unaligned (reftable index: 0); further corruption events will be suppressed
341 Can't get refcount for cluster 0: Input/output error
342 Can't get refcount for cluster 1: Input/output error
343 Can't get refcount for cluster 2: Input/output error
344 Can't get refcount for cluster 3: Input/output error
345 Can't get refcount for cluster 4: Input/output error
346 Can't get refcount for cluster 5: Input/output error
347 Can't get refcount for cluster 6: Input/output error
348 Rebuilding refcount structure
349 Repairing cluster 1 refcount=1 reference=0
350 qemu-img: Check failed: No medium found
351 Leaked cluster 1 refcount=1 reference=0
352 Repairing cluster 1 refcount=1 reference=0
353 The following inconsistencies were found and repaired:
355     1 leaked clusters
356     0 corruptions
358 Double checking the fixed image now...
359 No errors were found on the image.
361 === Discarding an out-of-bounds refblock ===
363 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
364 qcow2: Marking image as corrupt: Refblock at 0xffffff00000000 is not covered by the refcount structures; further corruption events will be suppressed
365 qemu-img: Failed to discard unused refblocks: Input/output error
366 --- Checking and retrying ---
367 virtual size: 64 MiB (67108864 bytes)
368 No errors were found on the image.
369 Image resized.
370 virtual size: 32 MiB (33554432 bytes)
372 === Discarding a non-covered in-bounds refblock ===
374 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
375 qcow2: Marking image as corrupt: Refblock at 0x1000000000 is not covered by the refcount structures; further corruption events will be suppressed
376 qemu-img: Failed to discard unused refblocks: Input/output error
377 --- Checking and retrying ---
378 virtual size: 64 MiB (67108864 bytes)
379 No errors were found on the image.
380 Image resized.
381 virtual size: 32 MiB (33554432 bytes)
383 === Discarding a refblock covered by an unaligned refblock ===
385 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
386 qcow2: Marking image as corrupt: Cannot get entry from refcount block cache: Offset 0x200 is unaligned; further corruption events will be suppressed
387 qemu-img: Failed to discard unused refblocks: Input/output error
388 --- Repairing ---
389 Repairing refcount block 1 is outside image
390 ERROR refcount block 2 is not cluster aligned; refcount table entry corrupted
391 qcow2: Marking image as corrupt: Refblock offset 0x200 unaligned (reftable index: 0x2); further corruption events will be suppressed
392 Can't get refcount for cluster 1048576: Input/output error
393 Rebuilding refcount structure
394 Repairing cluster 1 refcount=1 reference=0
395 Repairing cluster 2 refcount=1 reference=0
396 Repairing cluster 1048576 refcount=1 reference=0
397 qemu-img: Check failed: No medium found
398 Leaked cluster 1 refcount=1 reference=0
399 Leaked cluster 2 refcount=1 reference=0
400 Leaked cluster 1048576 refcount=1 reference=0
401 Repairing cluster 1 refcount=1 reference=0
402 Repairing cluster 2 refcount=1 reference=0
403 Repairing cluster 1048576 refcount=1 reference=0
404 The following inconsistencies were found and repaired:
406     3 leaked clusters
407     0 corruptions
409 Double checking the fixed image now...
410 No errors were found on the image.
412 === Testing the QEMU shutdown with a corrupted image ===
414 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
415 qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with refcount table); further corruption events will be suppressed
416 QMP_VERSION
417 {"return": {}}
418 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_IMAGE_CORRUPTED", "data": {"device": "none0", "msg": "Preventing invalid write on metadata (overlaps with refcount table)", "offset": 65536, "node-name": "drive", "fatal": true, "size": 65536}}
419 write failed: Input/output error
420 {"return": ""}
421 {"return": {}}
422 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
424 === Testing incoming inactive corrupted image ===
426 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
427 QMP_VERSION
428 {"return": {}}
429 qcow2: Image is corrupt: L2 table offset 0x2a2a2a00 unaligned (L1 index: 0); further non-fatal corruption events will be suppressed
430 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_IMAGE_CORRUPTED", "data": {"device": "", "msg": "L2 table offset 0x2a2a2a00 unaligned (L1 index: 0)", "node-name": "drive", "fatal": false}}
431 {"return": ""}
432 {"return": {}}
433 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
435     corrupt: false
436 *** done