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