These changes are the raw update to qemu-2.6.
[kvmfornfv.git] / qemu / tests / qemu-iotests / 061.out
1 QA output created by 061
2
3 === Testing version downgrade with zero expansion ===
4
5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
6 wrote 131072/131072 bytes at offset 0
7 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
8 magic                     0x514649fb
9 version                   3
10 backing_file_offset       0x0
11 backing_file_size         0x0
12 cluster_bits              16
13 size                      67108864
14 crypt_method              0
15 l1_size                   1
16 l1_table_offset           0x30000
17 refcount_table_offset     0x10000
18 refcount_table_clusters   1
19 nb_snapshots              0
20 snapshot_offset           0x0
21 incompatible_features     0x0
22 compatible_features       0x1
23 autoclear_features        0x0
24 refcount_order            4
25 header_length             104
26
27 Header extension:
28 magic                     0x6803f857
29 length                    144
30 data                      <binary>
31
32 magic                     0x514649fb
33 version                   2
34 backing_file_offset       0x0
35 backing_file_size         0x0
36 cluster_bits              16
37 size                      67108864
38 crypt_method              0
39 l1_size                   1
40 l1_table_offset           0x30000
41 refcount_table_offset     0x10000
42 refcount_table_clusters   1
43 nb_snapshots              0
44 snapshot_offset           0x0
45 incompatible_features     0x0
46 compatible_features       0x0
47 autoclear_features        0x0
48 refcount_order            4
49 header_length             72
50
51 read 131072/131072 bytes at offset 0
52 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
53 No errors were found on the image.
54
55 === Testing dirty version downgrade ===
56
57 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
58 wrote 131072/131072 bytes at offset 0
59 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
60 ./common.config: Killed                  ( if [ "${VALGRIND_QEMU}" == "y" ]; then
61     exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@";
62 else
63     exec "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@";
64 fi )
65 magic                     0x514649fb
66 version                   3
67 backing_file_offset       0x0
68 backing_file_size         0x0
69 cluster_bits              16
70 size                      67108864
71 crypt_method              0
72 l1_size                   1
73 l1_table_offset           0x30000
74 refcount_table_offset     0x10000
75 refcount_table_clusters   1
76 nb_snapshots              0
77 snapshot_offset           0x0
78 incompatible_features     0x1
79 compatible_features       0x1
80 autoclear_features        0x0
81 refcount_order            4
82 header_length             104
83
84 Header extension:
85 magic                     0x6803f857
86 length                    144
87 data                      <binary>
88
89 ERROR cluster 5 refcount=0 reference=1
90 ERROR cluster 6 refcount=0 reference=1
91 Rebuilding refcount structure
92 Repairing cluster 1 refcount=1 reference=0
93 Repairing cluster 2 refcount=1 reference=0
94 magic                     0x514649fb
95 version                   2
96 backing_file_offset       0x0
97 backing_file_size         0x0
98 cluster_bits              16
99 size                      67108864
100 crypt_method              0
101 l1_size                   1
102 l1_table_offset           0x30000
103 refcount_table_offset     0x80000
104 refcount_table_clusters   1
105 nb_snapshots              0
106 snapshot_offset           0x0
107 incompatible_features     0x0
108 compatible_features       0x0
109 autoclear_features        0x0
110 refcount_order            4
111 header_length             72
112
113 read 131072/131072 bytes at offset 0
114 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
115 No errors were found on the image.
116
117 === Testing version downgrade with unknown compat/autoclear flags ===
118
119 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
120 magic                     0x514649fb
121 version                   3
122 backing_file_offset       0x0
123 backing_file_size         0x0
124 cluster_bits              16
125 size                      67108864
126 crypt_method              0
127 l1_size                   1
128 l1_table_offset           0x30000
129 refcount_table_offset     0x10000
130 refcount_table_clusters   1
131 nb_snapshots              0
132 snapshot_offset           0x0
133 incompatible_features     0x0
134 compatible_features       0x40000000000
135 autoclear_features        0x40000000000
136 refcount_order            4
137 header_length             104
138
139 Header extension:
140 magic                     0x6803f857
141 length                    144
142 data                      <binary>
143
144 magic                     0x514649fb
145 version                   2
146 backing_file_offset       0x0
147 backing_file_size         0x0
148 cluster_bits              16
149 size                      67108864
150 crypt_method              0
151 l1_size                   1
152 l1_table_offset           0x30000
153 refcount_table_offset     0x10000
154 refcount_table_clusters   1
155 nb_snapshots              0
156 snapshot_offset           0x0
157 incompatible_features     0x0
158 compatible_features       0x0
159 autoclear_features        0x0
160 refcount_order            4
161 header_length             72
162
163 No errors were found on the image.
164
165 === Testing version upgrade and resize ===
166
167 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
168 wrote 65536/65536 bytes at offset 44040192
169 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
170 magic                     0x514649fb
171 version                   2
172 backing_file_offset       0x0
173 backing_file_size         0x0
174 cluster_bits              16
175 size                      67108864
176 crypt_method              0
177 l1_size                   1
178 l1_table_offset           0x30000
179 refcount_table_offset     0x10000
180 refcount_table_clusters   1
181 nb_snapshots              0
182 snapshot_offset           0x0
183 incompatible_features     0x0
184 compatible_features       0x0
185 autoclear_features        0x0
186 refcount_order            4
187 header_length             72
188
189 magic                     0x514649fb
190 version                   3
191 backing_file_offset       0x0
192 backing_file_size         0x0
193 cluster_bits              16
194 size                      134217728
195 crypt_method              0
196 l1_size                   1
197 l1_table_offset           0x30000
198 refcount_table_offset     0x10000
199 refcount_table_clusters   1
200 nb_snapshots              0
201 snapshot_offset           0x0
202 incompatible_features     0x0
203 compatible_features       0x1
204 autoclear_features        0x0
205 refcount_order            4
206 header_length             104
207
208 Header extension:
209 magic                     0x6803f857
210 length                    144
211 data                      <binary>
212
213 read 65536/65536 bytes at offset 44040192
214 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
215 No errors were found on the image.
216
217 === Testing dirty lazy_refcounts=off ===
218
219 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
220 wrote 131072/131072 bytes at offset 0
221 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
222 ./common.config: Killed                  ( if [ "${VALGRIND_QEMU}" == "y" ]; then
223     exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@";
224 else
225     exec "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@";
226 fi )
227 magic                     0x514649fb
228 version                   3
229 backing_file_offset       0x0
230 backing_file_size         0x0
231 cluster_bits              16
232 size                      67108864
233 crypt_method              0
234 l1_size                   1
235 l1_table_offset           0x30000
236 refcount_table_offset     0x10000
237 refcount_table_clusters   1
238 nb_snapshots              0
239 snapshot_offset           0x0
240 incompatible_features     0x1
241 compatible_features       0x1
242 autoclear_features        0x0
243 refcount_order            4
244 header_length             104
245
246 Header extension:
247 magic                     0x6803f857
248 length                    144
249 data                      <binary>
250
251 ERROR cluster 5 refcount=0 reference=1
252 ERROR cluster 6 refcount=0 reference=1
253 Rebuilding refcount structure
254 Repairing cluster 1 refcount=1 reference=0
255 Repairing cluster 2 refcount=1 reference=0
256 magic                     0x514649fb
257 version                   3
258 backing_file_offset       0x0
259 backing_file_size         0x0
260 cluster_bits              16
261 size                      67108864
262 crypt_method              0
263 l1_size                   1
264 l1_table_offset           0x30000
265 refcount_table_offset     0x80000
266 refcount_table_clusters   1
267 nb_snapshots              0
268 snapshot_offset           0x0
269 incompatible_features     0x0
270 compatible_features       0x0
271 autoclear_features        0x0
272 refcount_order            4
273 header_length             104
274
275 Header extension:
276 magic                     0x6803f857
277 length                    144
278 data                      <binary>
279
280 read 131072/131072 bytes at offset 0
281 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
282 No errors were found on the image.
283
284 === Testing backing file ===
285
286 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
287 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
288 wrote 131072/131072 bytes at offset 0
289 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
290 read 131072/131072 bytes at offset 0
291 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
292 read 131072/131072 bytes at offset 0
293 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
294 No errors were found on the image.
295
296 === Testing invalid configurations ===
297
298 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
299 qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
300 qemu-img: Error while amending options: Invalid argument
301 qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
302 qemu-img: Error while amending options: Invalid argument
303 qemu-img: Unknown compatibility level 0.42
304 qemu-img: Error while amending options: Invalid argument
305 qemu-img: Invalid parameter 'foo'
306 qemu-img: Changing the cluster size is not supported
307 qemu-img: Error while amending options: Operation not supported
308 qemu-img: Changing the encryption flag is not supported
309 qemu-img: Error while amending options: Operation not supported
310 qemu-img: Cannot change preallocation mode
311 qemu-img: Error while amending options: Operation not supported
312
313 === Testing correct handling of unset value ===
314
315 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
316 Should work:
317 Should not work:
318 qemu-img: Changing the cluster size is not supported
319 qemu-img: Error while amending options: Operation not supported
320
321 === Testing zero expansion on inactive clusters ===
322
323 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
324 wrote 131072/131072 bytes at offset 0
325 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
326 wrote 131072/131072 bytes at offset 0
327 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
328 No errors were found on the image.
329 read 131072/131072 bytes at offset 0
330 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
331 No errors were found on the image.
332 read 131072/131072 bytes at offset 0
333 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
334
335 === Testing zero expansion on shared L2 table ===
336
337 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
338 wrote 131072/131072 bytes at offset 0
339 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
340 No errors were found on the image.
341 read 131072/131072 bytes at offset 0
342 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
343 No errors were found on the image.
344 read 131072/131072 bytes at offset 0
345 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
346
347 === Testing zero expansion on backed image ===
348
349 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
350 wrote 131072/131072 bytes at offset 0
351 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
352 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
353 read 131072/131072 bytes at offset 0
354 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
355 wrote 65536/65536 bytes at offset 0
356 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
357 No errors were found on the image.
358 read 65536/65536 bytes at offset 0
359 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
360 read 65536/65536 bytes at offset 65536
361 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
362
363 === Testing zero expansion on backed inactive clusters ===
364
365 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
366 wrote 131072/131072 bytes at offset 0
367 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
368 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
369 wrote 65536/65536 bytes at offset 0
370 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
371 wrote 131072/131072 bytes at offset 0
372 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
373 No errors were found on the image.
374 read 131072/131072 bytes at offset 0
375 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
376 No errors were found on the image.
377 read 65536/65536 bytes at offset 0
378 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
379 read 65536/65536 bytes at offset 65536
380 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
381
382 === Testing zero expansion on backed image with shared L2 table ===
383
384 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
385 wrote 131072/131072 bytes at offset 0
386 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
387 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
388 wrote 131072/131072 bytes at offset 0
389 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
390 No errors were found on the image.
391 read 131072/131072 bytes at offset 0
392 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
393 No errors were found on the image.
394 read 131072/131072 bytes at offset 0
395 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
396
397 === Testing preallocated zero expansion on full image ===
398
399 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
400 wrote 67108864/67108864 bytes at offset 0
401 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
402 wrote 67108864/67108864 bytes at offset 0
403 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
404 No errors were found on the image.
405 read 67108864/67108864 bytes at offset 0
406 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
407
408 === Testing progress report without snapshot ===
409
410 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
411 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
412 wrote 65536/65536 bytes at offset 0
413 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
414 wrote 65536/65536 bytes at offset 1073741824
415 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
416 wrote 65536/65536 bytes at offset 2147483648
417 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
418 wrote 65536/65536 bytes at offset 3221225472
419 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
420     (0.00/100%)\r    (12.50/100%)\r    (25.00/100%)\r    (37.50/100%)\r    (50.00/100%)\r    (62.50/100%)\r    (75.00/100%)\r    (87.50/100%)\r    (100.00/100%)\r    (100.00/100%)
421 No errors were found on the image.
422
423 === Testing progress report with snapshot ===
424
425 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
426 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
427 wrote 65536/65536 bytes at offset 0
428 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
429 wrote 65536/65536 bytes at offset 1073741824
430 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
431 wrote 65536/65536 bytes at offset 2147483648
432 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
433 wrote 65536/65536 bytes at offset 3221225472
434 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
435     (0.00/100%)\r    (6.25/100%)\r    (12.50/100%)\r    (18.75/100%)\r    (25.00/100%)\r    (31.25/100%)\r    (37.50/100%)\r    (43.75/100%)\r    (50.00/100%)\r    (56.25/100%)\r    (62.50/100%)\r    (68.75/100%)\r    (75.00/100%)\r    (81.25/100%)\r    (87.50/100%)\r    (93.75/100%)\r    (100.00/100%)\r    (100.00/100%)
436 No errors were found on the image.
437 *** done