xref: /openbmc/qemu/tests/qemu-iotests/082.out (revision 228aa992)
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
14
15Testing: info TEST_DIR/t.qcow2
16image: TEST_DIR/t.qcow2
17file format: qcow2
18virtual size: 128M (134217728 bytes)
19disk size: 16K
20cluster_size: 4096
21Format specific information:
22    compat: 1.1
23    lazy refcounts: true
24    corrupt: false
25
26Testing: create -f qcow2 -o cluster_size=4k -o lazy_refcounts=on -o cluster_size=8k TEST_DIR/t.qcow2 128M
27Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 encryption=off cluster_size=8192 lazy_refcounts=on
28
29Testing: info TEST_DIR/t.qcow2
30image: TEST_DIR/t.qcow2
31file format: qcow2
32virtual size: 128M (134217728 bytes)
33disk size: 28K
34cluster_size: 8192
35Format specific information:
36    compat: 1.1
37    lazy refcounts: true
38    corrupt: false
39
40Testing: create -f qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 128M
41Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 encryption=off cluster_size=8192 lazy_refcounts=off
42image: TEST_DIR/t.IMGFMT
43file format: IMGFMT
44virtual size: 128M (134217728 bytes)
45cluster_size: 8192
46
47=== create: help for -o ===
48
49Testing: create -f qcow2 -o help TEST_DIR/t.qcow2 128M
50Supported options:
51size             Virtual disk size
52compat           Compatibility level (0.10 or 1.1)
53backing_file     File name of a base image
54backing_fmt      Image format of the base image
55encryption       Encrypt the image
56cluster_size     qcow2 cluster size
57preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
58lazy_refcounts   Postpone refcount updates
59nocow            Turn off copy-on-write (valid only on btrfs)
60
61Testing: create -f qcow2 -o ? TEST_DIR/t.qcow2 128M
62Supported options:
63size             Virtual disk size
64compat           Compatibility level (0.10 or 1.1)
65backing_file     File name of a base image
66backing_fmt      Image format of the base image
67encryption       Encrypt the image
68cluster_size     qcow2 cluster size
69preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
70lazy_refcounts   Postpone refcount updates
71nocow            Turn off copy-on-write (valid only on btrfs)
72
73Testing: create -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 128M
74Supported options:
75size             Virtual disk size
76compat           Compatibility level (0.10 or 1.1)
77backing_file     File name of a base image
78backing_fmt      Image format of the base image
79encryption       Encrypt the image
80cluster_size     qcow2 cluster size
81preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
82lazy_refcounts   Postpone refcount updates
83nocow            Turn off copy-on-write (valid only on btrfs)
84
85Testing: create -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 128M
86Supported options:
87size             Virtual disk size
88compat           Compatibility level (0.10 or 1.1)
89backing_file     File name of a base image
90backing_fmt      Image format of the base image
91encryption       Encrypt the image
92cluster_size     qcow2 cluster size
93preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
94lazy_refcounts   Postpone refcount updates
95nocow            Turn off copy-on-write (valid only on btrfs)
96
97Testing: create -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 128M
98Supported options:
99size             Virtual disk size
100compat           Compatibility level (0.10 or 1.1)
101backing_file     File name of a base image
102backing_fmt      Image format of the base image
103encryption       Encrypt the image
104cluster_size     qcow2 cluster size
105preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
106lazy_refcounts   Postpone refcount updates
107nocow            Turn off copy-on-write (valid only on btrfs)
108
109Testing: create -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 128M
110Supported options:
111size             Virtual disk size
112compat           Compatibility level (0.10 or 1.1)
113backing_file     File name of a base image
114backing_fmt      Image format of the base image
115encryption       Encrypt the image
116cluster_size     qcow2 cluster size
117preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
118lazy_refcounts   Postpone refcount updates
119nocow            Turn off copy-on-write (valid only on btrfs)
120
121Testing: create -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 128M
122Supported options:
123size             Virtual disk size
124compat           Compatibility level (0.10 or 1.1)
125backing_file     File name of a base image
126backing_fmt      Image format of the base image
127encryption       Encrypt the image
128cluster_size     qcow2 cluster size
129preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
130lazy_refcounts   Postpone refcount updates
131nocow            Turn off copy-on-write (valid only on btrfs)
132
133Testing: create -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 128M
134Supported options:
135size             Virtual disk size
136compat           Compatibility level (0.10 or 1.1)
137backing_file     File name of a base image
138backing_fmt      Image format of the base image
139encryption       Encrypt the image
140cluster_size     qcow2 cluster size
141preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
142lazy_refcounts   Postpone refcount updates
143nocow            Turn off copy-on-write (valid only on btrfs)
144
145Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 128M
146Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 backing_file='TEST_DIR/t.qcow2,help' encryption=off cluster_size=65536 lazy_refcounts=off
147
148Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 128M
149Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 backing_file='TEST_DIR/t.qcow2,?' encryption=off cluster_size=65536 lazy_refcounts=off
150
151Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 128M
152qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
153
154Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 128M
155qemu-img: Invalid option list: ,help
156
157Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 128M
158qemu-img: Invalid option list: ,,
159
160Testing: create -f qcow2 -o help
161Supported options:
162size             Virtual disk size
163compat           Compatibility level (0.10 or 1.1)
164backing_file     File name of a base image
165backing_fmt      Image format of the base image
166encryption       Encrypt the image
167cluster_size     qcow2 cluster size
168preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
169lazy_refcounts   Postpone refcount updates
170
171Testing: create -o help
172Supported options:
173size             Virtual disk size
174
175=== convert: Options specified more than once ===
176
177Testing: create -f qcow2 TEST_DIR/t.qcow2 128M
178Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 encryption=off cluster_size=65536 lazy_refcounts=off
179
180Testing: convert -f foo -f qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
181image: TEST_DIR/t.IMGFMT.base
182file format: raw
183virtual size: 128M (134217728 bytes)
184
185Testing: convert -O foo -O qcow2 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: 65536
190
191Testing: convert -O qcow2 -o cluster_size=4k -o lazy_refcounts=on TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
192
193Testing: info TEST_DIR/t.qcow2.base
194image: TEST_DIR/t.qcow2.base
195file format: qcow2
196virtual size: 128M (134217728 bytes)
197disk size: 16K
198cluster_size: 4096
199Format specific information:
200    compat: 1.1
201    lazy refcounts: true
202    corrupt: false
203
204Testing: convert -O qcow2 -o cluster_size=4k -o lazy_refcounts=on -o cluster_size=8k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
205
206Testing: info TEST_DIR/t.qcow2.base
207image: TEST_DIR/t.qcow2.base
208file format: qcow2
209virtual size: 128M (134217728 bytes)
210disk size: 28K
211cluster_size: 8192
212Format specific information:
213    compat: 1.1
214    lazy refcounts: true
215    corrupt: false
216
217Testing: convert -O qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
218image: TEST_DIR/t.IMGFMT.base
219file format: IMGFMT
220virtual size: 128M (134217728 bytes)
221cluster_size: 8192
222
223=== convert: help for -o ===
224
225Testing: convert -O qcow2 -o help 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 ? 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,help 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 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 help,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 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 help 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 cluster_size=4k -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
310Supported options:
311size             Virtual disk size
312compat           Compatibility level (0.10 or 1.1)
313backing_file     File name of a base image
314backing_fmt      Image format of the base image
315encryption       Encrypt the image
316cluster_size     qcow2 cluster size
317preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
318lazy_refcounts   Postpone refcount updates
319nocow            Turn off copy-on-write (valid only on btrfs)
320
321Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
322qemu-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
323
324Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
325qemu-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
326
327Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
328qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
329
330Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
331qemu-img: Invalid option list: ,help
332
333Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
334qemu-img: Invalid option list: ,,
335
336Testing: convert -O qcow2 -o help
337Supported options:
338size             Virtual disk size
339compat           Compatibility level (0.10 or 1.1)
340backing_file     File name of a base image
341backing_fmt      Image format of the base image
342encryption       Encrypt the image
343cluster_size     qcow2 cluster size
344preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
345lazy_refcounts   Postpone refcount updates
346
347Testing: convert -o help
348Supported options:
349size             Virtual disk size
350
351=== amend: Options specified more than once ===
352
353Testing: amend -f foo -f qcow2 -o lazy_refcounts=on TEST_DIR/t.qcow2
354
355Testing: info TEST_DIR/t.qcow2
356image: TEST_DIR/t.qcow2
357file format: qcow2
358virtual size: 128M (134217728 bytes)
359disk size: 196K
360cluster_size: 65536
361Format specific information:
362    compat: 1.1
363    lazy refcounts: true
364    corrupt: false
365
366Testing: amend -f qcow2 -o size=130M -o lazy_refcounts=off TEST_DIR/t.qcow2
367
368Testing: info TEST_DIR/t.qcow2
369image: TEST_DIR/t.qcow2
370file format: qcow2
371virtual size: 130M (136314880 bytes)
372disk size: 196K
373cluster_size: 65536
374Format specific information:
375    compat: 1.1
376    lazy refcounts: false
377    corrupt: false
378
379Testing: amend -f qcow2 -o size=8M -o lazy_refcounts=on -o size=132M TEST_DIR/t.qcow2
380
381Testing: info TEST_DIR/t.qcow2
382image: TEST_DIR/t.qcow2
383file format: qcow2
384virtual size: 132M (138412032 bytes)
385disk size: 196K
386cluster_size: 65536
387Format specific information:
388    compat: 1.1
389    lazy refcounts: true
390    corrupt: false
391
392Testing: amend -f qcow2 -o size=4M,size=148M TEST_DIR/t.qcow2
393image: TEST_DIR/t.IMGFMT
394file format: IMGFMT
395virtual size: 148M (155189248 bytes)
396cluster_size: 65536
397
398=== amend: help for -o ===
399
400Testing: amend -f qcow2 -o help TEST_DIR/t.qcow2
401Supported options:
402size             Virtual disk size
403compat           Compatibility level (0.10 or 1.1)
404backing_file     File name of a base image
405backing_fmt      Image format of the base image
406encryption       Encrypt the image
407cluster_size     qcow2 cluster size
408preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
409lazy_refcounts   Postpone refcount updates
410nocow            Turn off copy-on-write (valid only on btrfs)
411
412Testing: amend -f qcow2 -o ? TEST_DIR/t.qcow2
413Supported options:
414size             Virtual disk size
415compat           Compatibility level (0.10 or 1.1)
416backing_file     File name of a base image
417backing_fmt      Image format of the base image
418encryption       Encrypt the image
419cluster_size     qcow2 cluster size
420preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
421lazy_refcounts   Postpone refcount updates
422nocow            Turn off copy-on-write (valid only on btrfs)
423
424Testing: amend -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2
425Supported options:
426size             Virtual disk size
427compat           Compatibility level (0.10 or 1.1)
428backing_file     File name of a base image
429backing_fmt      Image format of the base image
430encryption       Encrypt the image
431cluster_size     qcow2 cluster size
432preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
433lazy_refcounts   Postpone refcount updates
434nocow            Turn off copy-on-write (valid only on btrfs)
435
436Testing: amend -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2
437Supported options:
438size             Virtual disk size
439compat           Compatibility level (0.10 or 1.1)
440backing_file     File name of a base image
441backing_fmt      Image format of the base image
442encryption       Encrypt the image
443cluster_size     qcow2 cluster size
444preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
445lazy_refcounts   Postpone refcount updates
446nocow            Turn off copy-on-write (valid only on btrfs)
447
448Testing: amend -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2
449Supported options:
450size             Virtual disk size
451compat           Compatibility level (0.10 or 1.1)
452backing_file     File name of a base image
453backing_fmt      Image format of the base image
454encryption       Encrypt the image
455cluster_size     qcow2 cluster size
456preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
457lazy_refcounts   Postpone refcount updates
458nocow            Turn off copy-on-write (valid only on btrfs)
459
460Testing: amend -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2
461Supported options:
462size             Virtual disk size
463compat           Compatibility level (0.10 or 1.1)
464backing_file     File name of a base image
465backing_fmt      Image format of the base image
466encryption       Encrypt the image
467cluster_size     qcow2 cluster size
468preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
469lazy_refcounts   Postpone refcount updates
470nocow            Turn off copy-on-write (valid only on btrfs)
471
472Testing: amend -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2
473Supported options:
474size             Virtual disk size
475compat           Compatibility level (0.10 or 1.1)
476backing_file     File name of a base image
477backing_fmt      Image format of the base image
478encryption       Encrypt the image
479cluster_size     qcow2 cluster size
480preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
481lazy_refcounts   Postpone refcount updates
482nocow            Turn off copy-on-write (valid only on btrfs)
483
484Testing: amend -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2
485Supported options:
486size             Virtual disk size
487compat           Compatibility level (0.10 or 1.1)
488backing_file     File name of a base image
489backing_fmt      Image format of the base image
490encryption       Encrypt the image
491cluster_size     qcow2 cluster size
492preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
493lazy_refcounts   Postpone refcount updates
494nocow            Turn off copy-on-write (valid only on btrfs)
495
496Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2
497
498Testing: rebase -u -b  -f qcow2 TEST_DIR/t.qcow2
499
500Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2
501
502Testing: rebase -u -b  -f qcow2 TEST_DIR/t.qcow2
503
504Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2
505qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
506
507Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2
508qemu-img: Invalid option list: ,help
509
510Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2
511qemu-img: Invalid option list: ,,
512
513Testing: amend -f qcow2 -o help
514Supported options:
515size             Virtual disk size
516compat           Compatibility level (0.10 or 1.1)
517backing_file     File name of a base image
518backing_fmt      Image format of the base image
519encryption       Encrypt the image
520cluster_size     qcow2 cluster size
521preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
522lazy_refcounts   Postpone refcount updates
523
524Testing: convert -o help
525Supported options:
526size             Virtual disk size
527*** done
528