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