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