xref: /openbmc/qemu/tests/qemu-iotests/082.out (revision 21f5826a)
1QA output created by 082
2
3=== create: Options specified more than once ===
4
5Testing: create -f foo -f qcow2 TEST_DIR/t.qcow2 128M
6Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 encryption=off cluster_size=65536 lazy_refcounts=off
7image: TEST_DIR/t.IMGFMT
8file format: IMGFMT
9virtual size: 128M (134217728 bytes)
10cluster_size: 65536
11
12Testing: create -f qcow2 -o cluster_size=4k -o lazy_refcounts=on TEST_DIR/t.qcow2 128M
13Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 encryption=off cluster_size=4096 lazy_refcounts=on
14image: TEST_DIR/t.IMGFMT
15file format: IMGFMT
16virtual size: 128M (134217728 bytes)
17cluster_size: 4096
18Format specific information:
19    compat: 1.1
20    lazy refcounts: true
21    corrupt: false
22
23Testing: create -f qcow2 -o cluster_size=4k -o lazy_refcounts=on -o cluster_size=8k TEST_DIR/t.qcow2 128M
24Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 encryption=off cluster_size=8192 lazy_refcounts=on
25image: TEST_DIR/t.IMGFMT
26file format: IMGFMT
27virtual size: 128M (134217728 bytes)
28cluster_size: 8192
29Format specific information:
30    compat: 1.1
31    lazy refcounts: true
32    corrupt: false
33
34Testing: create -f qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 128M
35Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 encryption=off cluster_size=8192 lazy_refcounts=off
36image: TEST_DIR/t.IMGFMT
37file format: IMGFMT
38virtual size: 128M (134217728 bytes)
39cluster_size: 8192
40
41=== create: help for -o ===
42
43Testing: create -f qcow2 -o help TEST_DIR/t.qcow2 128M
44Supported options:
45size             Virtual disk size
46compat           Compatibility level (0.10 or 1.1)
47backing_file     File name of a base image
48backing_fmt      Image format of the base image
49encryption       Encrypt the image
50cluster_size     qcow2 cluster size
51preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
52lazy_refcounts   Postpone refcount updates
53nocow            Turn off copy-on-write (valid only on btrfs)
54
55Testing: create -f qcow2 -o ? TEST_DIR/t.qcow2 128M
56Supported options:
57size             Virtual disk size
58compat           Compatibility level (0.10 or 1.1)
59backing_file     File name of a base image
60backing_fmt      Image format of the base image
61encryption       Encrypt the image
62cluster_size     qcow2 cluster size
63preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
64lazy_refcounts   Postpone refcount updates
65nocow            Turn off copy-on-write (valid only on btrfs)
66
67Testing: create -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 128M
68Supported options:
69size             Virtual disk size
70compat           Compatibility level (0.10 or 1.1)
71backing_file     File name of a base image
72backing_fmt      Image format of the base image
73encryption       Encrypt the image
74cluster_size     qcow2 cluster size
75preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
76lazy_refcounts   Postpone refcount updates
77nocow            Turn off copy-on-write (valid only on btrfs)
78
79Testing: create -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 128M
80Supported options:
81size             Virtual disk size
82compat           Compatibility level (0.10 or 1.1)
83backing_file     File name of a base image
84backing_fmt      Image format of the base image
85encryption       Encrypt the image
86cluster_size     qcow2 cluster size
87preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
88lazy_refcounts   Postpone refcount updates
89nocow            Turn off copy-on-write (valid only on btrfs)
90
91Testing: create -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 128M
92Supported options:
93size             Virtual disk size
94compat           Compatibility level (0.10 or 1.1)
95backing_file     File name of a base image
96backing_fmt      Image format of the base image
97encryption       Encrypt the image
98cluster_size     qcow2 cluster size
99preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
100lazy_refcounts   Postpone refcount updates
101nocow            Turn off copy-on-write (valid only on btrfs)
102
103Testing: create -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 128M
104Supported options:
105size             Virtual disk size
106compat           Compatibility level (0.10 or 1.1)
107backing_file     File name of a base image
108backing_fmt      Image format of the base image
109encryption       Encrypt the image
110cluster_size     qcow2 cluster size
111preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
112lazy_refcounts   Postpone refcount updates
113nocow            Turn off copy-on-write (valid only on btrfs)
114
115Testing: create -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 128M
116Supported options:
117size             Virtual disk size
118compat           Compatibility level (0.10 or 1.1)
119backing_file     File name of a base image
120backing_fmt      Image format of the base image
121encryption       Encrypt the image
122cluster_size     qcow2 cluster size
123preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
124lazy_refcounts   Postpone refcount updates
125nocow            Turn off copy-on-write (valid only on btrfs)
126
127Testing: create -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 128M
128Supported options:
129size             Virtual disk size
130compat           Compatibility level (0.10 or 1.1)
131backing_file     File name of a base image
132backing_fmt      Image format of the base image
133encryption       Encrypt the image
134cluster_size     qcow2 cluster size
135preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
136lazy_refcounts   Postpone refcount updates
137nocow            Turn off copy-on-write (valid only on btrfs)
138
139Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 128M
140Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 backing_file='TEST_DIR/t.qcow2,help' encryption=off cluster_size=65536 lazy_refcounts=off
141
142Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 128M
143Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 backing_file='TEST_DIR/t.qcow2,?' encryption=off cluster_size=65536 lazy_refcounts=off
144
145Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 128M
146qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
147
148Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 128M
149qemu-img: Invalid option list: ,help
150
151Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 128M
152qemu-img: Invalid option list: ,,
153
154Testing: create -f qcow2 -o help
155Supported options:
156size             Virtual disk size
157compat           Compatibility level (0.10 or 1.1)
158backing_file     File name of a base image
159backing_fmt      Image format of the base image
160encryption       Encrypt the image
161cluster_size     qcow2 cluster size
162preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
163lazy_refcounts   Postpone refcount updates
164
165Testing: create -o help
166Supported options:
167size             Virtual disk size
168
169=== convert: Options specified more than once ===
170
171Testing: create -f qcow2 TEST_DIR/t.qcow2 128M
172Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 encryption=off cluster_size=65536 lazy_refcounts=off
173
174Testing: convert -f foo -f qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
175image: TEST_DIR/t.IMGFMT.base
176file format: raw
177virtual size: 128M (134217728 bytes)
178
179Testing: convert -O foo -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
180image: TEST_DIR/t.IMGFMT.base
181file format: IMGFMT
182virtual size: 128M (134217728 bytes)
183cluster_size: 65536
184
185Testing: convert -O qcow2 -o cluster_size=4k -o lazy_refcounts=on TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
186image: TEST_DIR/t.IMGFMT.base
187file format: IMGFMT
188virtual size: 128M (134217728 bytes)
189cluster_size: 4096
190Format specific information:
191    compat: 1.1
192    lazy refcounts: true
193    corrupt: false
194
195Testing: convert -O qcow2 -o cluster_size=4k -o lazy_refcounts=on -o cluster_size=8k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
196image: TEST_DIR/t.IMGFMT.base
197file format: IMGFMT
198virtual size: 128M (134217728 bytes)
199cluster_size: 8192
200Format specific information:
201    compat: 1.1
202    lazy refcounts: true
203    corrupt: false
204
205Testing: convert -O qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
206image: TEST_DIR/t.IMGFMT.base
207file format: IMGFMT
208virtual size: 128M (134217728 bytes)
209cluster_size: 8192
210
211=== convert: help for -o ===
212
213Testing: convert -O qcow2 -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
214Supported options:
215size             Virtual disk size
216compat           Compatibility level (0.10 or 1.1)
217backing_file     File name of a base image
218backing_fmt      Image format of the base image
219encryption       Encrypt the image
220cluster_size     qcow2 cluster size
221preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
222lazy_refcounts   Postpone refcount updates
223nocow            Turn off copy-on-write (valid only on btrfs)
224
225Testing: convert -O qcow2 -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
226Supported options:
227size             Virtual disk size
228compat           Compatibility level (0.10 or 1.1)
229backing_file     File name of a base image
230backing_fmt      Image format of the base image
231encryption       Encrypt the image
232cluster_size     qcow2 cluster size
233preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
234lazy_refcounts   Postpone refcount updates
235nocow            Turn off copy-on-write (valid only on btrfs)
236
237Testing: convert -O qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
238Supported options:
239size             Virtual disk size
240compat           Compatibility level (0.10 or 1.1)
241backing_file     File name of a base image
242backing_fmt      Image format of the base image
243encryption       Encrypt the image
244cluster_size     qcow2 cluster size
245preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
246lazy_refcounts   Postpone refcount updates
247nocow            Turn off copy-on-write (valid only on btrfs)
248
249Testing: convert -O qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
250Supported options:
251size             Virtual disk size
252compat           Compatibility level (0.10 or 1.1)
253backing_file     File name of a base image
254backing_fmt      Image format of the base image
255encryption       Encrypt the image
256cluster_size     qcow2 cluster size
257preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
258lazy_refcounts   Postpone refcount updates
259nocow            Turn off copy-on-write (valid only on btrfs)
260
261Testing: convert -O qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
262Supported options:
263size             Virtual disk size
264compat           Compatibility level (0.10 or 1.1)
265backing_file     File name of a base image
266backing_fmt      Image format of the base image
267encryption       Encrypt the image
268cluster_size     qcow2 cluster size
269preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
270lazy_refcounts   Postpone refcount updates
271nocow            Turn off copy-on-write (valid only on btrfs)
272
273Testing: convert -O qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
274Supported options:
275size             Virtual disk size
276compat           Compatibility level (0.10 or 1.1)
277backing_file     File name of a base image
278backing_fmt      Image format of the base image
279encryption       Encrypt the image
280cluster_size     qcow2 cluster size
281preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
282lazy_refcounts   Postpone refcount updates
283nocow            Turn off copy-on-write (valid only on btrfs)
284
285Testing: convert -O qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
286Supported options:
287size             Virtual disk size
288compat           Compatibility level (0.10 or 1.1)
289backing_file     File name of a base image
290backing_fmt      Image format of the base image
291encryption       Encrypt the image
292cluster_size     qcow2 cluster size
293preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
294lazy_refcounts   Postpone refcount updates
295nocow            Turn off copy-on-write (valid only on btrfs)
296
297Testing: convert -O qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
298Supported options:
299size             Virtual disk size
300compat           Compatibility level (0.10 or 1.1)
301backing_file     File name of a base image
302backing_fmt      Image format of the base image
303encryption       Encrypt the image
304cluster_size     qcow2 cluster size
305preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
306lazy_refcounts   Postpone refcount updates
307nocow            Turn off copy-on-write (valid only on btrfs)
308
309Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
310qemu-img: Could not open 'TEST_DIR/t.qcow2.base': Could not open backing file: Could not open 'TEST_DIR/t.qcow2,help': No such file or directory
311
312Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
313qemu-img: Could not open 'TEST_DIR/t.qcow2.base': Could not open backing file: Could not open 'TEST_DIR/t.qcow2,?': No such file or directory
314
315Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
316qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
317
318Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
319qemu-img: Invalid option list: ,help
320
321Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
322qemu-img: Invalid option list: ,,
323
324Testing: convert -O qcow2 -o help
325Supported options:
326size             Virtual disk size
327compat           Compatibility level (0.10 or 1.1)
328backing_file     File name of a base image
329backing_fmt      Image format of the base image
330encryption       Encrypt the image
331cluster_size     qcow2 cluster size
332preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
333lazy_refcounts   Postpone refcount updates
334
335Testing: convert -o help
336Supported options:
337size             Virtual disk size
338
339=== amend: Options specified more than once ===
340
341Testing: amend -f foo -f qcow2 -o lazy_refcounts=on TEST_DIR/t.qcow2
342image: TEST_DIR/t.IMGFMT
343file format: IMGFMT
344virtual size: 128M (134217728 bytes)
345cluster_size: 65536
346Format specific information:
347    compat: 1.1
348    lazy refcounts: true
349    corrupt: false
350
351Testing: amend -f qcow2 -o size=130M -o lazy_refcounts=off TEST_DIR/t.qcow2
352image: TEST_DIR/t.IMGFMT
353file format: IMGFMT
354virtual size: 130M (136314880 bytes)
355cluster_size: 65536
356Format specific information:
357    compat: 1.1
358    lazy refcounts: false
359    corrupt: false
360
361Testing: amend -f qcow2 -o size=8M -o lazy_refcounts=on -o size=132M TEST_DIR/t.qcow2
362image: TEST_DIR/t.IMGFMT
363file format: IMGFMT
364virtual size: 132M (138412032 bytes)
365cluster_size: 65536
366Format specific information:
367    compat: 1.1
368    lazy refcounts: true
369    corrupt: false
370
371Testing: amend -f qcow2 -o size=4M,size=148M TEST_DIR/t.qcow2
372image: TEST_DIR/t.IMGFMT
373file format: IMGFMT
374virtual size: 148M (155189248 bytes)
375cluster_size: 65536
376
377=== amend: help for -o ===
378
379Testing: amend -f qcow2 -o help TEST_DIR/t.qcow2
380Supported options:
381size             Virtual disk size
382compat           Compatibility level (0.10 or 1.1)
383backing_file     File name of a base image
384backing_fmt      Image format of the base image
385encryption       Encrypt the image
386cluster_size     qcow2 cluster size
387preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
388lazy_refcounts   Postpone refcount updates
389nocow            Turn off copy-on-write (valid only on btrfs)
390
391Testing: amend -f qcow2 -o ? TEST_DIR/t.qcow2
392Supported options:
393size             Virtual disk size
394compat           Compatibility level (0.10 or 1.1)
395backing_file     File name of a base image
396backing_fmt      Image format of the base image
397encryption       Encrypt the image
398cluster_size     qcow2 cluster size
399preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
400lazy_refcounts   Postpone refcount updates
401nocow            Turn off copy-on-write (valid only on btrfs)
402
403Testing: amend -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2
404Supported options:
405size             Virtual disk size
406compat           Compatibility level (0.10 or 1.1)
407backing_file     File name of a base image
408backing_fmt      Image format of the base image
409encryption       Encrypt the image
410cluster_size     qcow2 cluster size
411preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
412lazy_refcounts   Postpone refcount updates
413nocow            Turn off copy-on-write (valid only on btrfs)
414
415Testing: amend -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2
416Supported options:
417size             Virtual disk size
418compat           Compatibility level (0.10 or 1.1)
419backing_file     File name of a base image
420backing_fmt      Image format of the base image
421encryption       Encrypt the image
422cluster_size     qcow2 cluster size
423preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
424lazy_refcounts   Postpone refcount updates
425nocow            Turn off copy-on-write (valid only on btrfs)
426
427Testing: amend -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2
428Supported options:
429size             Virtual disk size
430compat           Compatibility level (0.10 or 1.1)
431backing_file     File name of a base image
432backing_fmt      Image format of the base image
433encryption       Encrypt the image
434cluster_size     qcow2 cluster size
435preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
436lazy_refcounts   Postpone refcount updates
437nocow            Turn off copy-on-write (valid only on btrfs)
438
439Testing: amend -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2
440Supported options:
441size             Virtual disk size
442compat           Compatibility level (0.10 or 1.1)
443backing_file     File name of a base image
444backing_fmt      Image format of the base image
445encryption       Encrypt the image
446cluster_size     qcow2 cluster size
447preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
448lazy_refcounts   Postpone refcount updates
449nocow            Turn off copy-on-write (valid only on btrfs)
450
451Testing: amend -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2
452Supported options:
453size             Virtual disk size
454compat           Compatibility level (0.10 or 1.1)
455backing_file     File name of a base image
456backing_fmt      Image format of the base image
457encryption       Encrypt the image
458cluster_size     qcow2 cluster size
459preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
460lazy_refcounts   Postpone refcount updates
461nocow            Turn off copy-on-write (valid only on btrfs)
462
463Testing: amend -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2
464Supported options:
465size             Virtual disk size
466compat           Compatibility level (0.10 or 1.1)
467backing_file     File name of a base image
468backing_fmt      Image format of the base image
469encryption       Encrypt the image
470cluster_size     qcow2 cluster size
471preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
472lazy_refcounts   Postpone refcount updates
473nocow            Turn off copy-on-write (valid only on btrfs)
474
475Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2
476
477Testing: rebase -u -b  -f qcow2 TEST_DIR/t.qcow2
478
479Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2
480
481Testing: rebase -u -b  -f qcow2 TEST_DIR/t.qcow2
482
483Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2
484qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
485
486Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2
487qemu-img: Invalid option list: ,help
488
489Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2
490qemu-img: Invalid option list: ,,
491
492Testing: amend -f qcow2 -o help
493Supported options:
494size             Virtual disk size
495compat           Compatibility level (0.10 or 1.1)
496backing_file     File name of a base image
497backing_fmt      Image format of the base image
498encryption       Encrypt the image
499cluster_size     qcow2 cluster size
500preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
501lazy_refcounts   Postpone refcount updates
502
503Testing: convert -o help
504Supported options:
505size             Virtual disk size
506*** done
507