spapr: Drop duplicate PCI swizzle code
[qemu/ar7.git] / tests / qemu-iotests / 082.out
blob915640613ffea8e5104b2ff52ca9b9fe03cbbeb2
1 QA output created by 082
3 === create: Options specified more than once ===
5 Testing: create -f foo -f qcow2 TEST_DIR/t.qcow2 128M
6 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 cluster_size=65536 lazy_refcounts=off refcount_bits=16
7 image: TEST_DIR/t.IMGFMT
8 file format: IMGFMT
9 virtual size: 128M (134217728 bytes)
10 cluster_size: 65536
12 Testing: create -f qcow2 -o cluster_size=4k -o lazy_refcounts=on TEST_DIR/t.qcow2 128M
13 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 cluster_size=4096 lazy_refcounts=on refcount_bits=16
14 image: TEST_DIR/t.IMGFMT
15 file format: IMGFMT
16 virtual size: 128M (134217728 bytes)
17 cluster_size: 4096
18 Format specific information:
19     compat: 1.1
20     lazy refcounts: true
21     refcount bits: 16
22     corrupt: false
24 Testing: create -f qcow2 -o cluster_size=4k -o lazy_refcounts=on -o cluster_size=8k TEST_DIR/t.qcow2 128M
25 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 cluster_size=8192 lazy_refcounts=on refcount_bits=16
26 image: TEST_DIR/t.IMGFMT
27 file format: IMGFMT
28 virtual size: 128M (134217728 bytes)
29 cluster_size: 8192
30 Format specific information:
31     compat: 1.1
32     lazy refcounts: true
33     refcount bits: 16
34     corrupt: false
36 Testing: create -f qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 128M
37 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 cluster_size=8192 lazy_refcounts=off refcount_bits=16
38 image: TEST_DIR/t.IMGFMT
39 file format: IMGFMT
40 virtual size: 128M (134217728 bytes)
41 cluster_size: 8192
43 === create: help for -o ===
45 Testing: create -f qcow2 -o help TEST_DIR/t.qcow2 128M
46 Supported options:
47   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
68 Testing: create -f qcow2 -o ? TEST_DIR/t.qcow2 128M
69 Supported 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
91 Testing: create -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 128M
92 Supported 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
114 Testing: create -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 128M
115 Supported 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
137 Testing: create -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 128M
138 Supported 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
160 Testing: create -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 128M
161 Supported 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
183 Testing: create -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 128M
184 Supported 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
206 Testing: create -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 128M
207 Supported 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
229 Testing: create -f qcow2 -u -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 128M
230 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/t.qcow2,,help cluster_size=65536 lazy_refcounts=off refcount_bits=16
232 Testing: create -f qcow2 -u -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 128M
233 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/t.qcow2,,? cluster_size=65536 lazy_refcounts=off refcount_bits=16
235 Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 128M
236 qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
238 Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 128M
239 qemu-img: Invalid option list: ,help
241 Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 128M
242 qemu-img: Invalid option list: ,,
244 Testing: create -f qcow2 -o help
245 Supported 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
266 Testing: create -o help
267 Supported options:
268   size=<size>            - Virtual disk size
270 Testing: create -f bochs -o help
271 qemu-img: Format driver 'bochs' does not support image creation
273 === convert: Options specified more than once ===
275 Testing: create -f qcow2 TEST_DIR/t.qcow2 128M
276 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 cluster_size=65536 lazy_refcounts=off refcount_bits=16
278 Testing: convert -f foo -f qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
279 image: TEST_DIR/t.IMGFMT.base
280 file format: raw
281 virtual size: 128M (134217728 bytes)
283 Testing: convert -O foo -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
284 image: TEST_DIR/t.IMGFMT.base
285 file format: IMGFMT
286 virtual size: 128M (134217728 bytes)
287 cluster_size: 65536
289 Testing: convert -O qcow2 -o cluster_size=4k -o lazy_refcounts=on TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
290 image: TEST_DIR/t.IMGFMT.base
291 file format: IMGFMT
292 virtual size: 128M (134217728 bytes)
293 cluster_size: 4096
294 Format specific information:
295     compat: 1.1
296     lazy refcounts: true
297     refcount bits: 16
298     corrupt: false
300 Testing: convert -O qcow2 -o cluster_size=4k -o lazy_refcounts=on -o cluster_size=8k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
301 image: TEST_DIR/t.IMGFMT.base
302 file format: IMGFMT
303 virtual size: 128M (134217728 bytes)
304 cluster_size: 8192
305 Format specific information:
306     compat: 1.1
307     lazy refcounts: true
308     refcount bits: 16
309     corrupt: false
311 Testing: convert -O qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
312 image: TEST_DIR/t.IMGFMT.base
313 file format: IMGFMT
314 virtual size: 128M (134217728 bytes)
315 cluster_size: 8192
317 === convert: help for -o ===
319 Testing: convert -O qcow2 -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
320 Supported 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
342 Testing: convert -O qcow2 -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
343 Supported 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
365 Testing: convert -O qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
366 Supported 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
388 Testing: convert -O qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
389 Supported 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
411 Testing: convert -O qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
412 Supported 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
434 Testing: convert -O qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
435 Supported 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
457 Testing: convert -O qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
458 Supported 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
480 Testing: convert -O qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
481 Supported 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
503 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
504 qemu-img: Could not open 'TEST_DIR/t.qcow2.base': Could not open backing file: Could not open 'TEST_DIR/t.qcow2,help': No such file or directory
506 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
507 qemu-img: Could not open 'TEST_DIR/t.qcow2.base': Could not open backing file: Could not open 'TEST_DIR/t.qcow2,?': No such file or directory
509 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
510 qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
512 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
513 qemu-img: Invalid option list: ,help
515 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
516 qemu-img: Invalid option list: ,,
518 Testing: convert -O qcow2 -o help
519 Supported 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
540 Testing: convert -o help
541 Supported options:
542   size=<size>            - Virtual disk size
544 Testing: convert -O bochs -o help
545 qemu-img: Format driver 'bochs' does not support image creation
547 === convert: -C and other options ===
549 Testing: convert -C -S 4k -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.target
550 qemu-img: Cannot enable copy offloading when -S is used
552 Testing: convert -C -S 8k -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.target
553 qemu-img: Cannot enable copy offloading when -S is used
555 Testing: convert -C -c -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.target
556 qemu-img: Cannot enable copy offloading when -c is used
558 === amend: Options specified more than once ===
560 Testing: amend -f foo -f qcow2 -o lazy_refcounts=on TEST_DIR/t.qcow2
561 image: TEST_DIR/t.IMGFMT
562 file format: IMGFMT
563 virtual size: 128M (134217728 bytes)
564 cluster_size: 65536
565 Format specific information:
566     compat: 1.1
567     lazy refcounts: true
568     refcount bits: 16
569     corrupt: false
571 Testing: amend -f qcow2 -o size=130M -o lazy_refcounts=off TEST_DIR/t.qcow2
572 image: TEST_DIR/t.IMGFMT
573 file format: IMGFMT
574 virtual size: 130M (136314880 bytes)
575 cluster_size: 65536
576 Format specific information:
577     compat: 1.1
578     lazy refcounts: false
579     refcount bits: 16
580     corrupt: false
582 Testing: amend -f qcow2 -o size=8M -o lazy_refcounts=on -o size=132M TEST_DIR/t.qcow2
583 image: TEST_DIR/t.IMGFMT
584 file format: IMGFMT
585 virtual size: 132M (138412032 bytes)
586 cluster_size: 65536
587 Format specific information:
588     compat: 1.1
589     lazy refcounts: true
590     refcount bits: 16
591     corrupt: false
593 Testing: amend -f qcow2 -o size=4M,size=148M TEST_DIR/t.qcow2
594 image: TEST_DIR/t.IMGFMT
595 file format: IMGFMT
596 virtual size: 148M (155189248 bytes)
597 cluster_size: 65536
599 === amend: help for -o ===
601 Testing: amend -f qcow2 -o help TEST_DIR/t.qcow2
602 Creation 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
623 Note that not all of these options may be amendable.
625 Testing: amend -f qcow2 -o ? TEST_DIR/t.qcow2
626 Creation 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
647 Note that not all of these options may be amendable.
649 Testing: amend -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2
650 Creation 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
671 Note that not all of these options may be amendable.
673 Testing: amend -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2
674 Creation 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
695 Note that not all of these options may be amendable.
697 Testing: amend -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2
698 Creation 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
719 Note that not all of these options may be amendable.
721 Testing: amend -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2
722 Creation 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
743 Note that not all of these options may be amendable.
745 Testing: amend -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2
746 Creation 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
767 Note that not all of these options may be amendable.
769 Testing: amend -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2
770 Creation 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
791 Note that not all of these options may be amendable.
793 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2
795 Testing: rebase -u -b  -f qcow2 TEST_DIR/t.qcow2
797 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2
799 Testing: rebase -u -b  -f qcow2 TEST_DIR/t.qcow2
801 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2
802 qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
804 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2
805 qemu-img: Invalid option list: ,help
807 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2
808 qemu-img: Invalid option list: ,,
810 Testing: amend -f qcow2 -o help
811 Creation 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
832 Note that not all of these options may be amendable.
834 Testing: convert -o help
835 Supported options:
836   size=<size>            - Virtual disk size
838 Testing: amend -f bochs -o help
839 qemu-img: Format driver 'bochs' does not support option amendment
840 *** done