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 cluster_size=65536 lazy_refcounts=off refcount_bits=16
7 image: TEST_DIR/t.IMGFMT
9 virtual size: 128M (134217728 bytes)
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 cluster_size=4096 lazy_refcounts=on refcount_bits=16
14 image: TEST_DIR/t.IMGFMT
16 virtual size: 128M (134217728 bytes)
18 Format specific information:
24 Testing: create -f qcow2 -o cluster_size=4k -o lazy_refcounts=on -o cluster_size=8k TEST_DIR/t.qcow2 128M
25 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 cluster_size=8192 lazy_refcounts=on refcount_bits=16
26 image: TEST_DIR/t.IMGFMT
28 virtual size: 128M (134217728 bytes)
30 Format specific information:
36 Testing: create -f qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 128M
37 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 cluster_size=8192 lazy_refcounts=off refcount_bits=16
38 image: TEST_DIR/t.IMGFMT
40 virtual size: 128M (134217728 bytes)
43 === create: help for -o ===
45 Testing: create -f qcow2 -o help TEST_DIR/t.qcow2 128M
47 size Virtual disk size
48 compat Compatibility level (0.10 or 1.1)
49 backing_file File name of a base image
50 backing_fmt Image format of the base image
51 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
52 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
53 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
54 encrypt.cipher-alg Name of encryption cipher algorithm
55 encrypt.cipher-mode Name of encryption cipher mode
56 encrypt.ivgen-alg Name of IV generator algorithm
57 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
58 encrypt.hash-alg Name of encryption hash algorithm
59 encrypt.iter-time Time to spend in PBKDF in milliseconds
60 cluster_size qcow2 cluster size
61 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
62 lazy_refcounts Postpone refcount updates
63 refcount_bits Width of a reference count entry in bits
64 nocow Turn off copy-on-write (valid only on btrfs)
66 Testing: create -f qcow2 -o ? TEST_DIR/t.qcow2 128M
68 size Virtual disk size
69 compat Compatibility level (0.10 or 1.1)
70 backing_file File name of a base image
71 backing_fmt Image format of the base image
72 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
73 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
74 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
75 encrypt.cipher-alg Name of encryption cipher algorithm
76 encrypt.cipher-mode Name of encryption cipher mode
77 encrypt.ivgen-alg Name of IV generator algorithm
78 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
79 encrypt.hash-alg Name of encryption hash algorithm
80 encrypt.iter-time Time to spend in PBKDF in milliseconds
81 cluster_size qcow2 cluster size
82 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
83 lazy_refcounts Postpone refcount updates
84 refcount_bits Width of a reference count entry in bits
85 nocow Turn off copy-on-write (valid only on btrfs)
87 Testing: create -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 128M
89 size Virtual disk size
90 compat Compatibility level (0.10 or 1.1)
91 backing_file File name of a base image
92 backing_fmt Image format of the base image
93 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
94 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
95 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
96 encrypt.cipher-alg Name of encryption cipher algorithm
97 encrypt.cipher-mode Name of encryption cipher mode
98 encrypt.ivgen-alg Name of IV generator algorithm
99 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
100 encrypt.hash-alg Name of encryption hash algorithm
101 encrypt.iter-time Time to spend in PBKDF in milliseconds
102 cluster_size qcow2 cluster size
103 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
104 lazy_refcounts Postpone refcount updates
105 refcount_bits Width of a reference count entry in bits
106 nocow Turn off copy-on-write (valid only on btrfs)
108 Testing: create -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 128M
110 size Virtual disk size
111 compat Compatibility level (0.10 or 1.1)
112 backing_file File name of a base image
113 backing_fmt Image format of the base image
114 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
115 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
116 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
117 encrypt.cipher-alg Name of encryption cipher algorithm
118 encrypt.cipher-mode Name of encryption cipher mode
119 encrypt.ivgen-alg Name of IV generator algorithm
120 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
121 encrypt.hash-alg Name of encryption hash algorithm
122 encrypt.iter-time Time to spend in PBKDF in milliseconds
123 cluster_size qcow2 cluster size
124 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
125 lazy_refcounts Postpone refcount updates
126 refcount_bits Width of a reference count entry in bits
127 nocow Turn off copy-on-write (valid only on btrfs)
129 Testing: create -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 128M
131 size Virtual disk size
132 compat Compatibility level (0.10 or 1.1)
133 backing_file File name of a base image
134 backing_fmt Image format of the base image
135 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
136 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
137 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
138 encrypt.cipher-alg Name of encryption cipher algorithm
139 encrypt.cipher-mode Name of encryption cipher mode
140 encrypt.ivgen-alg Name of IV generator algorithm
141 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
142 encrypt.hash-alg Name of encryption hash algorithm
143 encrypt.iter-time Time to spend in PBKDF in milliseconds
144 cluster_size qcow2 cluster size
145 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
146 lazy_refcounts Postpone refcount updates
147 refcount_bits Width of a reference count entry in bits
148 nocow Turn off copy-on-write (valid only on btrfs)
150 Testing: create -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 128M
152 size Virtual disk size
153 compat Compatibility level (0.10 or 1.1)
154 backing_file File name of a base image
155 backing_fmt Image format of the base image
156 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
157 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
158 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
159 encrypt.cipher-alg Name of encryption cipher algorithm
160 encrypt.cipher-mode Name of encryption cipher mode
161 encrypt.ivgen-alg Name of IV generator algorithm
162 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
163 encrypt.hash-alg Name of encryption hash algorithm
164 encrypt.iter-time Time to spend in PBKDF in milliseconds
165 cluster_size qcow2 cluster size
166 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
167 lazy_refcounts Postpone refcount updates
168 refcount_bits Width of a reference count entry in bits
169 nocow Turn off copy-on-write (valid only on btrfs)
171 Testing: create -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 128M
173 size Virtual disk size
174 compat Compatibility level (0.10 or 1.1)
175 backing_file File name of a base image
176 backing_fmt Image format of the base image
177 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
178 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
179 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
180 encrypt.cipher-alg Name of encryption cipher algorithm
181 encrypt.cipher-mode Name of encryption cipher mode
182 encrypt.ivgen-alg Name of IV generator algorithm
183 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
184 encrypt.hash-alg Name of encryption hash algorithm
185 encrypt.iter-time Time to spend in PBKDF in milliseconds
186 cluster_size qcow2 cluster size
187 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
188 lazy_refcounts Postpone refcount updates
189 refcount_bits Width of a reference count entry in bits
190 nocow Turn off copy-on-write (valid only on btrfs)
192 Testing: create -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 128M
194 size Virtual disk size
195 compat Compatibility level (0.10 or 1.1)
196 backing_file File name of a base image
197 backing_fmt Image format of the base image
198 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
199 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
200 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
201 encrypt.cipher-alg Name of encryption cipher algorithm
202 encrypt.cipher-mode Name of encryption cipher mode
203 encrypt.ivgen-alg Name of IV generator algorithm
204 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
205 encrypt.hash-alg Name of encryption hash algorithm
206 encrypt.iter-time Time to spend in PBKDF in milliseconds
207 cluster_size qcow2 cluster size
208 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
209 lazy_refcounts Postpone refcount updates
210 refcount_bits Width of a reference count entry in bits
211 nocow Turn off copy-on-write (valid only on btrfs)
213 Testing: create -f qcow2 -u -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 128M
214 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/t.qcow2,,help cluster_size=65536 lazy_refcounts=off refcount_bits=16
216 Testing: create -f qcow2 -u -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 128M
217 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/t.qcow2,,? cluster_size=65536 lazy_refcounts=off refcount_bits=16
219 Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 128M
220 qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
222 Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 128M
223 qemu-img: Invalid option list: ,help
225 Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 128M
226 qemu-img: Invalid option list: ,,
228 Testing: create -f qcow2 -o help
230 size Virtual disk size
231 compat Compatibility level (0.10 or 1.1)
232 backing_file File name of a base image
233 backing_fmt Image format of the base image
234 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
235 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
236 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
237 encrypt.cipher-alg Name of encryption cipher algorithm
238 encrypt.cipher-mode Name of encryption cipher mode
239 encrypt.ivgen-alg Name of IV generator algorithm
240 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
241 encrypt.hash-alg Name of encryption hash algorithm
242 encrypt.iter-time Time to spend in PBKDF in milliseconds
243 cluster_size qcow2 cluster size
244 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
245 lazy_refcounts Postpone refcount updates
246 refcount_bits Width of a reference count entry in bits
248 Testing: create -o help
250 size Virtual disk size
252 Testing: create -f bochs -o help
253 qemu-img: Format driver 'bochs' does not support image creation
255 === convert: Options specified more than once ===
257 Testing: create -f qcow2 TEST_DIR/t.qcow2 128M
258 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 cluster_size=65536 lazy_refcounts=off refcount_bits=16
260 Testing: convert -f foo -f qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
261 image: TEST_DIR/t.IMGFMT.base
263 virtual size: 128M (134217728 bytes)
265 Testing: convert -O foo -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
266 image: TEST_DIR/t.IMGFMT.base
268 virtual size: 128M (134217728 bytes)
271 Testing: convert -O qcow2 -o cluster_size=4k -o lazy_refcounts=on TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
272 image: TEST_DIR/t.IMGFMT.base
274 virtual size: 128M (134217728 bytes)
276 Format specific information:
282 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
283 image: TEST_DIR/t.IMGFMT.base
285 virtual size: 128M (134217728 bytes)
287 Format specific information:
293 Testing: convert -O qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
294 image: TEST_DIR/t.IMGFMT.base
296 virtual size: 128M (134217728 bytes)
299 === convert: help for -o ===
301 Testing: convert -O qcow2 -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
303 size Virtual disk size
304 compat Compatibility level (0.10 or 1.1)
305 backing_file File name of a base image
306 backing_fmt Image format of the base image
307 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
308 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
309 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
310 encrypt.cipher-alg Name of encryption cipher algorithm
311 encrypt.cipher-mode Name of encryption cipher mode
312 encrypt.ivgen-alg Name of IV generator algorithm
313 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
314 encrypt.hash-alg Name of encryption hash algorithm
315 encrypt.iter-time Time to spend in PBKDF in milliseconds
316 cluster_size qcow2 cluster size
317 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
318 lazy_refcounts Postpone refcount updates
319 refcount_bits Width of a reference count entry in bits
320 nocow Turn off copy-on-write (valid only on btrfs)
322 Testing: convert -O qcow2 -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
324 size Virtual disk size
325 compat Compatibility level (0.10 or 1.1)
326 backing_file File name of a base image
327 backing_fmt Image format of the base image
328 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
329 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
330 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
331 encrypt.cipher-alg Name of encryption cipher algorithm
332 encrypt.cipher-mode Name of encryption cipher mode
333 encrypt.ivgen-alg Name of IV generator algorithm
334 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
335 encrypt.hash-alg Name of encryption hash algorithm
336 encrypt.iter-time Time to spend in PBKDF in milliseconds
337 cluster_size qcow2 cluster size
338 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
339 lazy_refcounts Postpone refcount updates
340 refcount_bits Width of a reference count entry in bits
341 nocow Turn off copy-on-write (valid only on btrfs)
343 Testing: convert -O qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
345 size Virtual disk size
346 compat Compatibility level (0.10 or 1.1)
347 backing_file File name of a base image
348 backing_fmt Image format of the base image
349 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
350 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
351 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
352 encrypt.cipher-alg Name of encryption cipher algorithm
353 encrypt.cipher-mode Name of encryption cipher mode
354 encrypt.ivgen-alg Name of IV generator algorithm
355 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
356 encrypt.hash-alg Name of encryption hash algorithm
357 encrypt.iter-time Time to spend in PBKDF in milliseconds
358 cluster_size qcow2 cluster size
359 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
360 lazy_refcounts Postpone refcount updates
361 refcount_bits Width of a reference count entry in bits
362 nocow Turn off copy-on-write (valid only on btrfs)
364 Testing: convert -O qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
366 size Virtual disk size
367 compat Compatibility level (0.10 or 1.1)
368 backing_file File name of a base image
369 backing_fmt Image format of the base image
370 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
371 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
372 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
373 encrypt.cipher-alg Name of encryption cipher algorithm
374 encrypt.cipher-mode Name of encryption cipher mode
375 encrypt.ivgen-alg Name of IV generator algorithm
376 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
377 encrypt.hash-alg Name of encryption hash algorithm
378 encrypt.iter-time Time to spend in PBKDF in milliseconds
379 cluster_size qcow2 cluster size
380 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
381 lazy_refcounts Postpone refcount updates
382 refcount_bits Width of a reference count entry in bits
383 nocow Turn off copy-on-write (valid only on btrfs)
385 Testing: convert -O qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
387 size Virtual disk size
388 compat Compatibility level (0.10 or 1.1)
389 backing_file File name of a base image
390 backing_fmt Image format of the base image
391 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
392 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
393 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
394 encrypt.cipher-alg Name of encryption cipher algorithm
395 encrypt.cipher-mode Name of encryption cipher mode
396 encrypt.ivgen-alg Name of IV generator algorithm
397 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
398 encrypt.hash-alg Name of encryption hash algorithm
399 encrypt.iter-time Time to spend in PBKDF in milliseconds
400 cluster_size qcow2 cluster size
401 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
402 lazy_refcounts Postpone refcount updates
403 refcount_bits Width of a reference count entry in bits
404 nocow Turn off copy-on-write (valid only on btrfs)
406 Testing: convert -O qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
408 size Virtual disk size
409 compat Compatibility level (0.10 or 1.1)
410 backing_file File name of a base image
411 backing_fmt Image format of the base image
412 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
413 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
414 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
415 encrypt.cipher-alg Name of encryption cipher algorithm
416 encrypt.cipher-mode Name of encryption cipher mode
417 encrypt.ivgen-alg Name of IV generator algorithm
418 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
419 encrypt.hash-alg Name of encryption hash algorithm
420 encrypt.iter-time Time to spend in PBKDF in milliseconds
421 cluster_size qcow2 cluster size
422 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
423 lazy_refcounts Postpone refcount updates
424 refcount_bits Width of a reference count entry in bits
425 nocow Turn off copy-on-write (valid only on btrfs)
427 Testing: convert -O qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
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 with format 'aes'. (Deprecated in favor of encrypt.format=aes)
434 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
435 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
436 encrypt.cipher-alg Name of encryption cipher algorithm
437 encrypt.cipher-mode Name of encryption cipher mode
438 encrypt.ivgen-alg Name of IV generator algorithm
439 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
440 encrypt.hash-alg Name of encryption hash algorithm
441 encrypt.iter-time Time to spend in PBKDF in milliseconds
442 cluster_size qcow2 cluster size
443 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
444 lazy_refcounts Postpone refcount updates
445 refcount_bits Width of a reference count entry in bits
446 nocow Turn off copy-on-write (valid only on btrfs)
448 Testing: convert -O qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
450 size Virtual disk size
451 compat Compatibility level (0.10 or 1.1)
452 backing_file File name of a base image
453 backing_fmt Image format of the base image
454 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
455 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
456 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
457 encrypt.cipher-alg Name of encryption cipher algorithm
458 encrypt.cipher-mode Name of encryption cipher mode
459 encrypt.ivgen-alg Name of IV generator algorithm
460 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
461 encrypt.hash-alg Name of encryption hash algorithm
462 encrypt.iter-time Time to spend in PBKDF in milliseconds
463 cluster_size qcow2 cluster size
464 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
465 lazy_refcounts Postpone refcount updates
466 refcount_bits Width of a reference count entry in bits
467 nocow Turn off copy-on-write (valid only on btrfs)
469 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
470 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
472 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
473 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
475 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
476 qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
478 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
479 qemu-img: Invalid option list: ,help
481 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
482 qemu-img: Invalid option list: ,,
484 Testing: convert -O qcow2 -o help
486 size Virtual disk size
487 compat Compatibility level (0.10 or 1.1)
488 backing_file File name of a base image
489 backing_fmt Image format of the base image
490 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
491 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
492 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
493 encrypt.cipher-alg Name of encryption cipher algorithm
494 encrypt.cipher-mode Name of encryption cipher mode
495 encrypt.ivgen-alg Name of IV generator algorithm
496 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
497 encrypt.hash-alg Name of encryption hash algorithm
498 encrypt.iter-time Time to spend in PBKDF in milliseconds
499 cluster_size qcow2 cluster size
500 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
501 lazy_refcounts Postpone refcount updates
502 refcount_bits Width of a reference count entry in bits
504 Testing: convert -o help
506 size Virtual disk size
508 Testing: convert -O bochs -o help
509 qemu-img: Format driver 'bochs' does not support image creation
511 === convert: -C and other options ===
513 Testing: convert -C -S 4k -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.target
514 qemu-img: Cannot enable copy offloading when -S is used
516 Testing: convert -C -S 8k -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.target
517 qemu-img: Cannot enable copy offloading when -S is used
519 Testing: convert -C -c -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.target
520 qemu-img: Cannot enable copy offloading when -c is used
522 === amend: Options specified more than once ===
524 Testing: amend -f foo -f qcow2 -o lazy_refcounts=on TEST_DIR/t.qcow2
525 image: TEST_DIR/t.IMGFMT
527 virtual size: 128M (134217728 bytes)
529 Format specific information:
535 Testing: amend -f qcow2 -o size=130M -o lazy_refcounts=off TEST_DIR/t.qcow2
536 image: TEST_DIR/t.IMGFMT
538 virtual size: 130M (136314880 bytes)
540 Format specific information:
542 lazy refcounts: false
546 Testing: amend -f qcow2 -o size=8M -o lazy_refcounts=on -o size=132M TEST_DIR/t.qcow2
547 image: TEST_DIR/t.IMGFMT
549 virtual size: 132M (138412032 bytes)
551 Format specific information:
557 Testing: amend -f qcow2 -o size=4M,size=148M TEST_DIR/t.qcow2
558 image: TEST_DIR/t.IMGFMT
560 virtual size: 148M (155189248 bytes)
563 === amend: help for -o ===
565 Testing: amend -f qcow2 -o help TEST_DIR/t.qcow2
566 Creation options for 'qcow2':
567 size Virtual disk size
568 compat Compatibility level (0.10 or 1.1)
569 backing_file File name of a base image
570 backing_fmt Image format of the base image
571 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
572 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
573 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
574 encrypt.cipher-alg Name of encryption cipher algorithm
575 encrypt.cipher-mode Name of encryption cipher mode
576 encrypt.ivgen-alg Name of IV generator algorithm
577 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
578 encrypt.hash-alg Name of encryption hash algorithm
579 encrypt.iter-time Time to spend in PBKDF in milliseconds
580 cluster_size qcow2 cluster size
581 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
582 lazy_refcounts Postpone refcount updates
583 refcount_bits Width of a reference count entry in bits
585 Note that not all of these options may be amendable.
587 Testing: amend -f qcow2 -o ? TEST_DIR/t.qcow2
588 Creation options for 'qcow2':
589 size Virtual disk size
590 compat Compatibility level (0.10 or 1.1)
591 backing_file File name of a base image
592 backing_fmt Image format of the base image
593 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
594 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
595 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
596 encrypt.cipher-alg Name of encryption cipher algorithm
597 encrypt.cipher-mode Name of encryption cipher mode
598 encrypt.ivgen-alg Name of IV generator algorithm
599 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
600 encrypt.hash-alg Name of encryption hash algorithm
601 encrypt.iter-time Time to spend in PBKDF in milliseconds
602 cluster_size qcow2 cluster size
603 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
604 lazy_refcounts Postpone refcount updates
605 refcount_bits Width of a reference count entry in bits
607 Note that not all of these options may be amendable.
609 Testing: amend -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2
610 Creation options for 'qcow2':
611 size Virtual disk size
612 compat Compatibility level (0.10 or 1.1)
613 backing_file File name of a base image
614 backing_fmt Image format of the base image
615 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
616 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
617 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
618 encrypt.cipher-alg Name of encryption cipher algorithm
619 encrypt.cipher-mode Name of encryption cipher mode
620 encrypt.ivgen-alg Name of IV generator algorithm
621 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
622 encrypt.hash-alg Name of encryption hash algorithm
623 encrypt.iter-time Time to spend in PBKDF in milliseconds
624 cluster_size qcow2 cluster size
625 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
626 lazy_refcounts Postpone refcount updates
627 refcount_bits Width of a reference count entry in bits
629 Note that not all of these options may be amendable.
631 Testing: amend -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2
632 Creation options for 'qcow2':
633 size Virtual disk size
634 compat Compatibility level (0.10 or 1.1)
635 backing_file File name of a base image
636 backing_fmt Image format of the base image
637 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
638 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
639 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
640 encrypt.cipher-alg Name of encryption cipher algorithm
641 encrypt.cipher-mode Name of encryption cipher mode
642 encrypt.ivgen-alg Name of IV generator algorithm
643 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
644 encrypt.hash-alg Name of encryption hash algorithm
645 encrypt.iter-time Time to spend in PBKDF in milliseconds
646 cluster_size qcow2 cluster size
647 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
648 lazy_refcounts Postpone refcount updates
649 refcount_bits Width of a reference count entry in bits
651 Note that not all of these options may be amendable.
653 Testing: amend -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2
654 Creation options for 'qcow2':
655 size Virtual disk size
656 compat Compatibility level (0.10 or 1.1)
657 backing_file File name of a base image
658 backing_fmt Image format of the base image
659 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
660 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
661 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
662 encrypt.cipher-alg Name of encryption cipher algorithm
663 encrypt.cipher-mode Name of encryption cipher mode
664 encrypt.ivgen-alg Name of IV generator algorithm
665 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
666 encrypt.hash-alg Name of encryption hash algorithm
667 encrypt.iter-time Time to spend in PBKDF in milliseconds
668 cluster_size qcow2 cluster size
669 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
670 lazy_refcounts Postpone refcount updates
671 refcount_bits Width of a reference count entry in bits
673 Note that not all of these options may be amendable.
675 Testing: amend -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2
676 Creation options for 'qcow2':
677 size Virtual disk size
678 compat Compatibility level (0.10 or 1.1)
679 backing_file File name of a base image
680 backing_fmt Image format of the base image
681 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
682 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
683 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
684 encrypt.cipher-alg Name of encryption cipher algorithm
685 encrypt.cipher-mode Name of encryption cipher mode
686 encrypt.ivgen-alg Name of IV generator algorithm
687 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
688 encrypt.hash-alg Name of encryption hash algorithm
689 encrypt.iter-time Time to spend in PBKDF in milliseconds
690 cluster_size qcow2 cluster size
691 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
692 lazy_refcounts Postpone refcount updates
693 refcount_bits Width of a reference count entry in bits
695 Note that not all of these options may be amendable.
697 Testing: amend -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2
698 Creation options for 'qcow2':
699 size Virtual disk size
700 compat Compatibility level (0.10 or 1.1)
701 backing_file File name of a base image
702 backing_fmt Image format of the base image
703 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
704 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
705 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
706 encrypt.cipher-alg Name of encryption cipher algorithm
707 encrypt.cipher-mode Name of encryption cipher mode
708 encrypt.ivgen-alg Name of IV generator algorithm
709 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
710 encrypt.hash-alg Name of encryption hash algorithm
711 encrypt.iter-time Time to spend in PBKDF in milliseconds
712 cluster_size qcow2 cluster size
713 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
714 lazy_refcounts Postpone refcount updates
715 refcount_bits Width of a reference count entry in bits
717 Note that not all of these options may be amendable.
719 Testing: amend -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2
720 Creation options for 'qcow2':
721 size Virtual disk size
722 compat Compatibility level (0.10 or 1.1)
723 backing_file File name of a base image
724 backing_fmt Image format of the base image
725 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
726 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
727 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
728 encrypt.cipher-alg Name of encryption cipher algorithm
729 encrypt.cipher-mode Name of encryption cipher mode
730 encrypt.ivgen-alg Name of IV generator algorithm
731 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
732 encrypt.hash-alg Name of encryption hash algorithm
733 encrypt.iter-time Time to spend in PBKDF in milliseconds
734 cluster_size qcow2 cluster size
735 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
736 lazy_refcounts Postpone refcount updates
737 refcount_bits Width of a reference count entry in bits
739 Note that not all of these options may be amendable.
741 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2
743 Testing: rebase -u -b -f qcow2 TEST_DIR/t.qcow2
745 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2
747 Testing: rebase -u -b -f qcow2 TEST_DIR/t.qcow2
749 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2
750 qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
752 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2
753 qemu-img: Invalid option list: ,help
755 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2
756 qemu-img: Invalid option list: ,,
758 Testing: amend -f qcow2 -o help
759 Creation options for 'qcow2':
760 size Virtual disk size
761 compat Compatibility level (0.10 or 1.1)
762 backing_file File name of a base image
763 backing_fmt Image format of the base image
764 encryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
765 encrypt.format Encrypt the image, format choices: 'aes', 'luks'
766 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
767 encrypt.cipher-alg Name of encryption cipher algorithm
768 encrypt.cipher-mode Name of encryption cipher mode
769 encrypt.ivgen-alg Name of IV generator algorithm
770 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
771 encrypt.hash-alg Name of encryption hash algorithm
772 encrypt.iter-time Time to spend in PBKDF in milliseconds
773 cluster_size qcow2 cluster size
774 preallocation Preallocation mode (allowed values: off, metadata, falloc, full)
775 lazy_refcounts Postpone refcount updates
776 refcount_bits Width of a reference count entry in bits
778 Note that not all of these options may be amendable.
780 Testing: convert -o help
782 size Virtual disk size
784 Testing: amend -f bochs -o help
785 qemu-img: Format driver 'bochs' does not support option amendment