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