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