]> git.proxmox.com Git - mirror_qemu.git/blame - tests/qemu-iotests/061.out
block: Declare blockdev-add and blockdev-del supported
[mirror_qemu.git] / tests / qemu-iotests / 061.out
CommitLineData
a8110c3d
HR
1QA output created by 061
2
3=== Testing version downgrade with zero expansion ===
4
7486458c 5Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
a8110c3d
HR
6wrote 131072/131072 bytes at offset 0
7128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
8magic 0x514649fb
9version 3
10backing_file_offset 0x0
11backing_file_size 0x0
12cluster_bits 16
13size 67108864
14crypt_method 0
15l1_size 1
16l1_table_offset 0x30000
17refcount_table_offset 0x10000
18refcount_table_clusters 1
19nb_snapshots 0
20snapshot_offset 0x0
21incompatible_features 0x0
22compatible_features 0x1
23autoclear_features 0x0
24refcount_order 4
25header_length 104
26
b527c9b3
KW
27Header extension:
28magic 0x6803f857
29length 144
30data <binary>
31
a8110c3d
HR
32magic 0x514649fb
33version 2
34backing_file_offset 0x0
35backing_file_size 0x0
36cluster_bits 16
37size 67108864
38crypt_method 0
39l1_size 1
40l1_table_offset 0x30000
41refcount_table_offset 0x10000
42refcount_table_clusters 1
43nb_snapshots 0
44snapshot_offset 0x0
45incompatible_features 0x0
46compatible_features 0x0
47autoclear_features 0x0
48refcount_order 4
49header_length 72
50
a8110c3d
HR
51read 131072/131072 bytes at offset 0
52128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
53No errors were found on the image.
54
55=== Testing dirty version downgrade ===
56
7486458c 57Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
a8110c3d
HR
58wrote 131072/131072 bytes at offset 0
59128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
e6c17669 60./common.config: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then
076003f5 61 exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
e6c17669 62else
076003f5 63 exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
e6c17669 64fi )
a8110c3d
HR
65magic 0x514649fb
66version 3
67backing_file_offset 0x0
68backing_file_size 0x0
69cluster_bits 16
70size 67108864
71crypt_method 0
72l1_size 1
73l1_table_offset 0x30000
74refcount_table_offset 0x10000
75refcount_table_clusters 1
76nb_snapshots 0
77snapshot_offset 0x0
78incompatible_features 0x1
79compatible_features 0x1
80autoclear_features 0x0
81refcount_order 4
82header_length 104
83
b527c9b3
KW
84Header extension:
85magic 0x6803f857
86length 144
87data <binary>
88
d26e6ec0
HR
89ERROR cluster 5 refcount=0 reference=1
90ERROR cluster 6 refcount=0 reference=1
91Rebuilding refcount structure
92Repairing cluster 1 refcount=1 reference=0
93Repairing cluster 2 refcount=1 reference=0
a8110c3d
HR
94magic 0x514649fb
95version 2
96backing_file_offset 0x0
97backing_file_size 0x0
98cluster_bits 16
99size 67108864
100crypt_method 0
101l1_size 1
102l1_table_offset 0x30000
d26e6ec0 103refcount_table_offset 0x80000
a8110c3d
HR
104refcount_table_clusters 1
105nb_snapshots 0
106snapshot_offset 0x0
107incompatible_features 0x0
108compatible_features 0x0
109autoclear_features 0x0
110refcount_order 4
111header_length 72
112
a8110c3d
HR
113read 131072/131072 bytes at offset 0
114128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
115No errors were found on the image.
116
117=== Testing version downgrade with unknown compat/autoclear flags ===
118
7486458c 119Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
a8110c3d
HR
120magic 0x514649fb
121version 3
122backing_file_offset 0x0
123backing_file_size 0x0
124cluster_bits 16
125size 67108864
126crypt_method 0
127l1_size 1
128l1_table_offset 0x30000
129refcount_table_offset 0x10000
130refcount_table_clusters 1
131nb_snapshots 0
132snapshot_offset 0x0
133incompatible_features 0x0
134compatible_features 0x40000000000
135autoclear_features 0x40000000000
136refcount_order 4
137header_length 104
138
b527c9b3
KW
139Header extension:
140magic 0x6803f857
141length 144
142data <binary>
143
a8110c3d
HR
144magic 0x514649fb
145version 2
146backing_file_offset 0x0
147backing_file_size 0x0
148cluster_bits 16
149size 67108864
150crypt_method 0
151l1_size 1
152l1_table_offset 0x30000
153refcount_table_offset 0x10000
154refcount_table_clusters 1
155nb_snapshots 0
156snapshot_offset 0x0
157incompatible_features 0x0
158compatible_features 0x0
159autoclear_features 0x0
160refcount_order 4
161header_length 72
162
a8110c3d
HR
163No errors were found on the image.
164
165=== Testing version upgrade and resize ===
166
7486458c 167Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
a8110c3d
HR
168wrote 65536/65536 bytes at offset 44040192
16964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
170magic 0x514649fb
171version 2
172backing_file_offset 0x0
173backing_file_size 0x0
174cluster_bits 16
175size 67108864
176crypt_method 0
177l1_size 1
178l1_table_offset 0x30000
179refcount_table_offset 0x10000
180refcount_table_clusters 1
181nb_snapshots 0
182snapshot_offset 0x0
183incompatible_features 0x0
184compatible_features 0x0
185autoclear_features 0x0
186refcount_order 4
187header_length 72
188
189magic 0x514649fb
190version 3
191backing_file_offset 0x0
192backing_file_size 0x0
193cluster_bits 16
194size 134217728
195crypt_method 0
196l1_size 1
197l1_table_offset 0x30000
198refcount_table_offset 0x10000
199refcount_table_clusters 1
200nb_snapshots 0
201snapshot_offset 0x0
202incompatible_features 0x0
203compatible_features 0x1
204autoclear_features 0x0
205refcount_order 4
206header_length 104
207
208Header extension:
209magic 0x6803f857
210length 144
211data <binary>
212
213read 65536/65536 bytes at offset 44040192
21464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
215No errors were found on the image.
216
217=== Testing dirty lazy_refcounts=off ===
218
7486458c 219Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
a8110c3d
HR
220wrote 131072/131072 bytes at offset 0
221128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
e6c17669 222./common.config: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then
076003f5 223 exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
e6c17669 224else
076003f5 225 exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
e6c17669 226fi )
a8110c3d
HR
227magic 0x514649fb
228version 3
229backing_file_offset 0x0
230backing_file_size 0x0
231cluster_bits 16
232size 67108864
233crypt_method 0
234l1_size 1
235l1_table_offset 0x30000
236refcount_table_offset 0x10000
237refcount_table_clusters 1
238nb_snapshots 0
239snapshot_offset 0x0
240incompatible_features 0x1
241compatible_features 0x1
242autoclear_features 0x0
243refcount_order 4
244header_length 104
245
b527c9b3
KW
246Header extension:
247magic 0x6803f857
248length 144
249data <binary>
250
d26e6ec0
HR
251ERROR cluster 5 refcount=0 reference=1
252ERROR cluster 6 refcount=0 reference=1
253Rebuilding refcount structure
254Repairing cluster 1 refcount=1 reference=0
255Repairing cluster 2 refcount=1 reference=0
a8110c3d
HR
256magic 0x514649fb
257version 3
258backing_file_offset 0x0
259backing_file_size 0x0
260cluster_bits 16
261size 67108864
262crypt_method 0
263l1_size 1
264l1_table_offset 0x30000
d26e6ec0 265refcount_table_offset 0x80000
a8110c3d
HR
266refcount_table_clusters 1
267nb_snapshots 0
268snapshot_offset 0x0
269incompatible_features 0x0
270compatible_features 0x0
271autoclear_features 0x0
272refcount_order 4
273header_length 104
274
275Header extension:
276magic 0x6803f857
277length 144
278data <binary>
279
280read 131072/131072 bytes at offset 0
281128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
282No errors were found on the image.
283
284=== Testing backing file ===
285
7486458c
FZ
286Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
287Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
a8110c3d
HR
288wrote 131072/131072 bytes at offset 0
289128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
290read 131072/131072 bytes at offset 0
291128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
292read 131072/131072 bytes at offset 0
293128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
294No errors were found on the image.
295
296=== Testing invalid configurations ===
297
7486458c 298Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
29d72431 299qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
a8110c3d 300qemu-img: Error while amending options: Invalid argument
29d72431 301qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
a8110c3d 302qemu-img: Error while amending options: Invalid argument
29d72431 303qemu-img: Unknown compatibility level 0.42
a8110c3d 304qemu-img: Error while amending options: Invalid argument
83d0521a 305qemu-img: Invalid parameter 'foo'
29d72431 306qemu-img: Changing the cluster size is not supported
a8110c3d 307qemu-img: Error while amending options: Operation not supported
29d72431 308qemu-img: Changing the encryption flag is not supported
a8110c3d 309qemu-img: Error while amending options: Operation not supported
29d72431 310qemu-img: Cannot change preallocation mode
a8110c3d
HR
311qemu-img: Error while amending options: Operation not supported
312
313=== Testing correct handling of unset value ===
314
7486458c 315Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
a8110c3d
HR
316Should work:
317Should not work:
29d72431 318qemu-img: Changing the cluster size is not supported
a8110c3d
HR
319qemu-img: Error while amending options: Operation not supported
320
321=== Testing zero expansion on inactive clusters ===
322
7486458c 323Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
a8110c3d
HR
324wrote 131072/131072 bytes at offset 0
325128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
326wrote 131072/131072 bytes at offset 0
327128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
328No errors were found on the image.
329read 131072/131072 bytes at offset 0
330128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
331No errors were found on the image.
332read 131072/131072 bytes at offset 0
333128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
334
d982919d
HR
335=== Testing zero expansion on shared L2 table ===
336
7486458c 337Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
d982919d
HR
338wrote 131072/131072 bytes at offset 0
339128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
340No errors were found on the image.
341read 131072/131072 bytes at offset 0
342128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
343No errors were found on the image.
344read 131072/131072 bytes at offset 0
345128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
346
a8110c3d
HR
347=== Testing zero expansion on backed image ===
348
7486458c 349Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
a8110c3d
HR
350wrote 131072/131072 bytes at offset 0
351128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
fe646693 352Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
a8110c3d
HR
353read 131072/131072 bytes at offset 0
354128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
355wrote 65536/65536 bytes at offset 0
35664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
357No errors were found on the image.
358read 65536/65536 bytes at offset 0
35964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
360read 65536/65536 bytes at offset 65536
36164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
362
363=== Testing zero expansion on backed inactive clusters ===
364
7486458c 365Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
a8110c3d
HR
366wrote 131072/131072 bytes at offset 0
367128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
fe646693 368Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
a8110c3d
HR
369wrote 65536/65536 bytes at offset 0
37064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
371wrote 131072/131072 bytes at offset 0
372128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
373No errors were found on the image.
374read 131072/131072 bytes at offset 0
375128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
376No errors were found on the image.
377read 65536/65536 bytes at offset 0
37864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
379read 65536/65536 bytes at offset 65536
38064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
d982919d
HR
381
382=== Testing zero expansion on backed image with shared L2 table ===
383
7486458c 384Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
d982919d
HR
385wrote 131072/131072 bytes at offset 0
386128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
fe646693 387Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
d982919d
HR
388wrote 131072/131072 bytes at offset 0
389128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
390No errors were found on the image.
391read 131072/131072 bytes at offset 0
392128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
393No errors were found on the image.
394read 131072/131072 bytes at offset 0
395128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
fd9e03e6
HR
396
397=== Testing preallocated zero expansion on full image ===
398
7486458c 399Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
fd9e03e6
HR
400wrote 67108864/67108864 bytes at offset 0
40164 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
402wrote 67108864/67108864 bytes at offset 0
40364 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
404No errors were found on the image.
405read 67108864/67108864 bytes at offset 0
40664 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
78fa6582
HR
407
408=== Testing progress report without snapshot ===
409
7486458c 410Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
fe646693 411Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
78fa6582
HR
412wrote 65536/65536 bytes at offset 0
41364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
414wrote 65536/65536 bytes at offset 1073741824
41564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
416wrote 65536/65536 bytes at offset 2147483648
41764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
418wrote 65536/65536 bytes at offset 3221225472
41964 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%)
421No errors were found on the image.
422
423=== Testing progress report with snapshot ===
424
7486458c 425Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
fe646693 426Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
78fa6582
HR
427wrote 65536/65536 bytes at offset 0
42864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
429wrote 65536/65536 bytes at offset 1073741824
43064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
431wrote 65536/65536 bytes at offset 2147483648
43264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
433wrote 65536/65536 bytes at offset 3221225472
43464 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%)
436No errors were found on the image.
a8110c3d 437*** done