memory: unify loops to sync dirty log bitmap
[qemu/ar7.git] / tests / qemu-iotests / 082.out
blob1527fbe1b741d5649ee62b6d67e317d373979be2
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
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 cluster_size=4096 lazy_refcounts=on refcount_bits=16
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     refcount bits: 16
22     corrupt: false
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
27 file format: IMGFMT
28 virtual size: 128M (134217728 bytes)
29 cluster_size: 8192
30 Format specific information:
31     compat: 1.1
32     lazy refcounts: true
33     refcount bits: 16
34     corrupt: false
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
39 file format: IMGFMT
40 virtual size: 128M (134217728 bytes)
41 cluster_size: 8192
43 === create: help for -o ===
45 Testing: create -f qcow2 -o help TEST_DIR/t.qcow2 128M
46 Supported options:
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
67 Supported options:
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
88 Supported options:
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
109 Supported options:
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
130 Supported options:
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
151 Supported options:
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
172 Supported options:
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
193 Supported options:
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
229 Supported options:
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
249 Supported options:
250 size             Virtual disk size
252 === convert: Options specified more than once ===
254 Testing: create -f qcow2 TEST_DIR/t.qcow2 128M
255 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 cluster_size=65536 lazy_refcounts=off refcount_bits=16
257 Testing: convert -f foo -f qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
258 image: TEST_DIR/t.IMGFMT.base
259 file format: raw
260 virtual size: 128M (134217728 bytes)
262 Testing: convert -O foo -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
263 image: TEST_DIR/t.IMGFMT.base
264 file format: IMGFMT
265 virtual size: 128M (134217728 bytes)
266 cluster_size: 65536
268 Testing: convert -O qcow2 -o cluster_size=4k -o lazy_refcounts=on TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
269 image: TEST_DIR/t.IMGFMT.base
270 file format: IMGFMT
271 virtual size: 128M (134217728 bytes)
272 cluster_size: 4096
273 Format specific information:
274     compat: 1.1
275     lazy refcounts: true
276     refcount bits: 16
277     corrupt: false
279 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
280 image: TEST_DIR/t.IMGFMT.base
281 file format: IMGFMT
282 virtual size: 128M (134217728 bytes)
283 cluster_size: 8192
284 Format specific information:
285     compat: 1.1
286     lazy refcounts: true
287     refcount bits: 16
288     corrupt: false
290 Testing: convert -O qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
291 image: TEST_DIR/t.IMGFMT.base
292 file format: IMGFMT
293 virtual size: 128M (134217728 bytes)
294 cluster_size: 8192
296 === convert: help for -o ===
298 Testing: convert -O qcow2 -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
299 Supported options:
300 size             Virtual disk size
301 compat           Compatibility level (0.10 or 1.1)
302 backing_file     File name of a base image
303 backing_fmt      Image format of the base image
304 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
305 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
306 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
307 encrypt.cipher-alg Name of encryption cipher algorithm
308 encrypt.cipher-mode Name of encryption cipher mode
309 encrypt.ivgen-alg Name of IV generator algorithm
310 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
311 encrypt.hash-alg Name of encryption hash algorithm
312 encrypt.iter-time Time to spend in PBKDF in milliseconds
313 cluster_size     qcow2 cluster size
314 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
315 lazy_refcounts   Postpone refcount updates
316 refcount_bits    Width of a reference count entry in bits
317 nocow            Turn off copy-on-write (valid only on btrfs)
319 Testing: convert -O qcow2 -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
320 Supported options:
321 size             Virtual disk size
322 compat           Compatibility level (0.10 or 1.1)
323 backing_file     File name of a base image
324 backing_fmt      Image format of the base image
325 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
326 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
327 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
328 encrypt.cipher-alg Name of encryption cipher algorithm
329 encrypt.cipher-mode Name of encryption cipher mode
330 encrypt.ivgen-alg Name of IV generator algorithm
331 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
332 encrypt.hash-alg Name of encryption hash algorithm
333 encrypt.iter-time Time to spend in PBKDF in milliseconds
334 cluster_size     qcow2 cluster size
335 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
336 lazy_refcounts   Postpone refcount updates
337 refcount_bits    Width of a reference count entry in bits
338 nocow            Turn off copy-on-write (valid only on btrfs)
340 Testing: convert -O qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
341 Supported options:
342 size             Virtual disk size
343 compat           Compatibility level (0.10 or 1.1)
344 backing_file     File name of a base image
345 backing_fmt      Image format of the base image
346 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
347 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
348 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
349 encrypt.cipher-alg Name of encryption cipher algorithm
350 encrypt.cipher-mode Name of encryption cipher mode
351 encrypt.ivgen-alg Name of IV generator algorithm
352 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
353 encrypt.hash-alg Name of encryption hash algorithm
354 encrypt.iter-time Time to spend in PBKDF in milliseconds
355 cluster_size     qcow2 cluster size
356 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
357 lazy_refcounts   Postpone refcount updates
358 refcount_bits    Width of a reference count entry in bits
359 nocow            Turn off copy-on-write (valid only on btrfs)
361 Testing: convert -O qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
362 Supported options:
363 size             Virtual disk size
364 compat           Compatibility level (0.10 or 1.1)
365 backing_file     File name of a base image
366 backing_fmt      Image format of the base image
367 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
368 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
369 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
370 encrypt.cipher-alg Name of encryption cipher algorithm
371 encrypt.cipher-mode Name of encryption cipher mode
372 encrypt.ivgen-alg Name of IV generator algorithm
373 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
374 encrypt.hash-alg Name of encryption hash algorithm
375 encrypt.iter-time Time to spend in PBKDF in milliseconds
376 cluster_size     qcow2 cluster size
377 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
378 lazy_refcounts   Postpone refcount updates
379 refcount_bits    Width of a reference count entry in bits
380 nocow            Turn off copy-on-write (valid only on btrfs)
382 Testing: convert -O qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
383 Supported options:
384 size             Virtual disk size
385 compat           Compatibility level (0.10 or 1.1)
386 backing_file     File name of a base image
387 backing_fmt      Image format of the base image
388 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
389 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
390 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
391 encrypt.cipher-alg Name of encryption cipher algorithm
392 encrypt.cipher-mode Name of encryption cipher mode
393 encrypt.ivgen-alg Name of IV generator algorithm
394 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
395 encrypt.hash-alg Name of encryption hash algorithm
396 encrypt.iter-time Time to spend in PBKDF in milliseconds
397 cluster_size     qcow2 cluster size
398 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
399 lazy_refcounts   Postpone refcount updates
400 refcount_bits    Width of a reference count entry in bits
401 nocow            Turn off copy-on-write (valid only on btrfs)
403 Testing: convert -O qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
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 with format 'aes'. (Deprecated in favor of encrypt.format=aes)
410 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
411 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
412 encrypt.cipher-alg Name of encryption cipher algorithm
413 encrypt.cipher-mode Name of encryption cipher mode
414 encrypt.ivgen-alg Name of IV generator algorithm
415 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
416 encrypt.hash-alg Name of encryption hash algorithm
417 encrypt.iter-time Time to spend in PBKDF in milliseconds
418 cluster_size     qcow2 cluster size
419 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
420 lazy_refcounts   Postpone refcount updates
421 refcount_bits    Width of a reference count entry in bits
422 nocow            Turn off copy-on-write (valid only on btrfs)
424 Testing: convert -O qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
425 Supported options:
426 size             Virtual disk size
427 compat           Compatibility level (0.10 or 1.1)
428 backing_file     File name of a base image
429 backing_fmt      Image format of the base image
430 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
431 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
432 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
433 encrypt.cipher-alg Name of encryption cipher algorithm
434 encrypt.cipher-mode Name of encryption cipher mode
435 encrypt.ivgen-alg Name of IV generator algorithm
436 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
437 encrypt.hash-alg Name of encryption hash algorithm
438 encrypt.iter-time Time to spend in PBKDF in milliseconds
439 cluster_size     qcow2 cluster size
440 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
441 lazy_refcounts   Postpone refcount updates
442 refcount_bits    Width of a reference count entry in bits
443 nocow            Turn off copy-on-write (valid only on btrfs)
445 Testing: convert -O qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
446 Supported options:
447 size             Virtual disk size
448 compat           Compatibility level (0.10 or 1.1)
449 backing_file     File name of a base image
450 backing_fmt      Image format of the base image
451 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
452 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
453 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
454 encrypt.cipher-alg Name of encryption cipher algorithm
455 encrypt.cipher-mode Name of encryption cipher mode
456 encrypt.ivgen-alg Name of IV generator algorithm
457 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
458 encrypt.hash-alg Name of encryption hash algorithm
459 encrypt.iter-time Time to spend in PBKDF in milliseconds
460 cluster_size     qcow2 cluster size
461 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
462 lazy_refcounts   Postpone refcount updates
463 refcount_bits    Width of a reference count entry in bits
464 nocow            Turn off copy-on-write (valid only on btrfs)
466 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
467 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
469 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,? 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,?': No such file or directory
472 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
473 qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
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: ,help
478 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
479 qemu-img: Invalid option list: ,,
481 Testing: convert -O qcow2 -o help
482 Supported options:
483 size             Virtual disk size
484 compat           Compatibility level (0.10 or 1.1)
485 backing_file     File name of a base image
486 backing_fmt      Image format of the base image
487 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
488 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
489 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
490 encrypt.cipher-alg Name of encryption cipher algorithm
491 encrypt.cipher-mode Name of encryption cipher mode
492 encrypt.ivgen-alg Name of IV generator algorithm
493 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
494 encrypt.hash-alg Name of encryption hash algorithm
495 encrypt.iter-time Time to spend in PBKDF in milliseconds
496 cluster_size     qcow2 cluster size
497 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
498 lazy_refcounts   Postpone refcount updates
499 refcount_bits    Width of a reference count entry in bits
501 Testing: convert -o help
502 Supported options:
503 size             Virtual disk size
505 === amend: Options specified more than once ===
507 Testing: amend -f foo -f qcow2 -o lazy_refcounts=on TEST_DIR/t.qcow2
508 image: TEST_DIR/t.IMGFMT
509 file format: IMGFMT
510 virtual size: 128M (134217728 bytes)
511 cluster_size: 65536
512 Format specific information:
513     compat: 1.1
514     lazy refcounts: true
515     refcount bits: 16
516     corrupt: false
518 Testing: amend -f qcow2 -o size=130M -o lazy_refcounts=off TEST_DIR/t.qcow2
519 image: TEST_DIR/t.IMGFMT
520 file format: IMGFMT
521 virtual size: 130M (136314880 bytes)
522 cluster_size: 65536
523 Format specific information:
524     compat: 1.1
525     lazy refcounts: false
526     refcount bits: 16
527     corrupt: false
529 Testing: amend -f qcow2 -o size=8M -o lazy_refcounts=on -o size=132M TEST_DIR/t.qcow2
530 image: TEST_DIR/t.IMGFMT
531 file format: IMGFMT
532 virtual size: 132M (138412032 bytes)
533 cluster_size: 65536
534 Format specific information:
535     compat: 1.1
536     lazy refcounts: true
537     refcount bits: 16
538     corrupt: false
540 Testing: amend -f qcow2 -o size=4M,size=148M TEST_DIR/t.qcow2
541 image: TEST_DIR/t.IMGFMT
542 file format: IMGFMT
543 virtual size: 148M (155189248 bytes)
544 cluster_size: 65536
546 === amend: help for -o ===
548 Testing: amend -f qcow2 -o help TEST_DIR/t.qcow2
549 Supported options:
550 size             Virtual disk size
551 compat           Compatibility level (0.10 or 1.1)
552 backing_file     File name of a base image
553 backing_fmt      Image format of the base image
554 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
555 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
556 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
557 encrypt.cipher-alg Name of encryption cipher algorithm
558 encrypt.cipher-mode Name of encryption cipher mode
559 encrypt.ivgen-alg Name of IV generator algorithm
560 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
561 encrypt.hash-alg Name of encryption hash algorithm
562 encrypt.iter-time Time to spend in PBKDF in milliseconds
563 cluster_size     qcow2 cluster size
564 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
565 lazy_refcounts   Postpone refcount updates
566 refcount_bits    Width of a reference count entry in bits
567 nocow            Turn off copy-on-write (valid only on btrfs)
569 Testing: amend -f qcow2 -o ? TEST_DIR/t.qcow2
570 Supported options:
571 size             Virtual disk size
572 compat           Compatibility level (0.10 or 1.1)
573 backing_file     File name of a base image
574 backing_fmt      Image format of the base image
575 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
576 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
577 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
578 encrypt.cipher-alg Name of encryption cipher algorithm
579 encrypt.cipher-mode Name of encryption cipher mode
580 encrypt.ivgen-alg Name of IV generator algorithm
581 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
582 encrypt.hash-alg Name of encryption hash algorithm
583 encrypt.iter-time Time to spend in PBKDF in milliseconds
584 cluster_size     qcow2 cluster size
585 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
586 lazy_refcounts   Postpone refcount updates
587 refcount_bits    Width of a reference count entry in bits
588 nocow            Turn off copy-on-write (valid only on btrfs)
590 Testing: amend -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2
591 Supported options:
592 size             Virtual disk size
593 compat           Compatibility level (0.10 or 1.1)
594 backing_file     File name of a base image
595 backing_fmt      Image format of the base image
596 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
597 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
598 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
599 encrypt.cipher-alg Name of encryption cipher algorithm
600 encrypt.cipher-mode Name of encryption cipher mode
601 encrypt.ivgen-alg Name of IV generator algorithm
602 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
603 encrypt.hash-alg Name of encryption hash algorithm
604 encrypt.iter-time Time to spend in PBKDF in milliseconds
605 cluster_size     qcow2 cluster size
606 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
607 lazy_refcounts   Postpone refcount updates
608 refcount_bits    Width of a reference count entry in bits
609 nocow            Turn off copy-on-write (valid only on btrfs)
611 Testing: amend -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2
612 Supported options:
613 size             Virtual disk size
614 compat           Compatibility level (0.10 or 1.1)
615 backing_file     File name of a base image
616 backing_fmt      Image format of the base image
617 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
618 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
619 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
620 encrypt.cipher-alg Name of encryption cipher algorithm
621 encrypt.cipher-mode Name of encryption cipher mode
622 encrypt.ivgen-alg Name of IV generator algorithm
623 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
624 encrypt.hash-alg Name of encryption hash algorithm
625 encrypt.iter-time Time to spend in PBKDF in milliseconds
626 cluster_size     qcow2 cluster size
627 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
628 lazy_refcounts   Postpone refcount updates
629 refcount_bits    Width of a reference count entry in bits
630 nocow            Turn off copy-on-write (valid only on btrfs)
632 Testing: amend -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2
633 Supported options:
634 size             Virtual disk size
635 compat           Compatibility level (0.10 or 1.1)
636 backing_file     File name of a base image
637 backing_fmt      Image format of the base image
638 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
639 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
640 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
641 encrypt.cipher-alg Name of encryption cipher algorithm
642 encrypt.cipher-mode Name of encryption cipher mode
643 encrypt.ivgen-alg Name of IV generator algorithm
644 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
645 encrypt.hash-alg Name of encryption hash algorithm
646 encrypt.iter-time Time to spend in PBKDF in milliseconds
647 cluster_size     qcow2 cluster size
648 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
649 lazy_refcounts   Postpone refcount updates
650 refcount_bits    Width of a reference count entry in bits
651 nocow            Turn off copy-on-write (valid only on btrfs)
653 Testing: amend -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2
654 Supported options:
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
672 nocow            Turn off copy-on-write (valid only on btrfs)
674 Testing: amend -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2
675 Supported options:
676 size             Virtual disk size
677 compat           Compatibility level (0.10 or 1.1)
678 backing_file     File name of a base image
679 backing_fmt      Image format of the base image
680 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
681 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
682 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
683 encrypt.cipher-alg Name of encryption cipher algorithm
684 encrypt.cipher-mode Name of encryption cipher mode
685 encrypt.ivgen-alg Name of IV generator algorithm
686 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
687 encrypt.hash-alg Name of encryption hash algorithm
688 encrypt.iter-time Time to spend in PBKDF in milliseconds
689 cluster_size     qcow2 cluster size
690 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
691 lazy_refcounts   Postpone refcount updates
692 refcount_bits    Width of a reference count entry in bits
693 nocow            Turn off copy-on-write (valid only on btrfs)
695 Testing: amend -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2
696 Supported options:
697 size             Virtual disk size
698 compat           Compatibility level (0.10 or 1.1)
699 backing_file     File name of a base image
700 backing_fmt      Image format of the base image
701 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
702 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
703 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
704 encrypt.cipher-alg Name of encryption cipher algorithm
705 encrypt.cipher-mode Name of encryption cipher mode
706 encrypt.ivgen-alg Name of IV generator algorithm
707 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
708 encrypt.hash-alg Name of encryption hash algorithm
709 encrypt.iter-time Time to spend in PBKDF in milliseconds
710 cluster_size     qcow2 cluster size
711 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
712 lazy_refcounts   Postpone refcount updates
713 refcount_bits    Width of a reference count entry in bits
714 nocow            Turn off copy-on-write (valid only on btrfs)
716 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2
718 Testing: rebase -u -b  -f qcow2 TEST_DIR/t.qcow2
720 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2
722 Testing: rebase -u -b  -f qcow2 TEST_DIR/t.qcow2
724 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2
725 qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
727 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2
728 qemu-img: Invalid option list: ,help
730 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2
731 qemu-img: Invalid option list: ,,
733 Testing: amend -f qcow2 -o help
734 Supported options:
735 size             Virtual disk size
736 compat           Compatibility level (0.10 or 1.1)
737 backing_file     File name of a base image
738 backing_fmt      Image format of the base image
739 encryption       Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
740 encrypt.format   Encrypt the image, format choices: 'aes', 'luks'
741 encrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase
742 encrypt.cipher-alg Name of encryption cipher algorithm
743 encrypt.cipher-mode Name of encryption cipher mode
744 encrypt.ivgen-alg Name of IV generator algorithm
745 encrypt.ivgen-hash-alg Name of IV generator hash algorithm
746 encrypt.hash-alg Name of encryption hash algorithm
747 encrypt.iter-time Time to spend in PBKDF in milliseconds
748 cluster_size     qcow2 cluster size
749 preallocation    Preallocation mode (allowed values: off, metadata, falloc, full)
750 lazy_refcounts   Postpone refcount updates
751 refcount_bits    Width of a reference count entry in bits
753 Testing: convert -o help
754 Supported options:
755 size             Virtual disk size
756 *** done