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