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