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 cluster_size=65536 compression_type=zlib size=134217728 lazy_refcounts=off refcount_bits=16
7 image: TEST_DIR/t.IMGFMT
9 virtual size: 128 MiB (134217728 bytes)
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 cluster_size=4096 compression_type=zlib size=134217728 lazy_refcounts=on refcount_bits=16
14 image: TEST_DIR/t.IMGFMT
16 virtual size: 128 MiB (134217728 bytes)
18 Format specific information:
20 compression type: zlib
25 Testing: create -f qcow2 -o cluster_size=4k -o lazy_refcounts=on -o cluster_size=8k TEST_DIR/t.qcow2 128M
26 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=8192 compression_type=zlib size=134217728 lazy_refcounts=on refcount_bits=16
27 image: TEST_DIR/t.IMGFMT
29 virtual size: 128 MiB (134217728 bytes)
31 Format specific information:
33 compression type: zlib
38 Testing: create -f qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 128M
39 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=8192 compression_type=zlib size=134217728 lazy_refcounts=off refcount_bits=16
40 image: TEST_DIR/t.IMGFMT
42 virtual size: 128 MiB (134217728 bytes)
45 === create: help for -o ===
47 Testing: create -f qcow2 -o help TEST_DIR/t.qcow2 128M
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 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
66 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
67 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
68 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
69 refcount_bits=<num> - Width of a reference count entry in bits
70 size=<size> - Virtual disk size
72 Testing: create -f qcow2 -o ? TEST_DIR/t.qcow2 128M
74 backing_file=<str> - File name of a base image
75 backing_fmt=<str> - Image format of the base image
76 cluster_size=<size> - qcow2 cluster size
77 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
78 compression_type=<str> - Compression method used for image cluster compression
79 data_file=<str> - File name of an external data file
80 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
81 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
82 encrypt.cipher-mode=<str> - Name of encryption cipher mode
83 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
84 encrypt.hash-alg=<str> - Name of encryption hash algorithm
85 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
86 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
87 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
88 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
89 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
90 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
91 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
92 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
93 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
94 refcount_bits=<num> - Width of a reference count entry in bits
95 size=<size> - Virtual disk size
97 Testing: create -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 128M
99 backing_file=<str> - File name of a base image
100 backing_fmt=<str> - Image format of the base image
101 cluster_size=<size> - qcow2 cluster size
102 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
103 compression_type=<str> - Compression method used for image cluster compression
104 data_file=<str> - File name of an external data file
105 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
106 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
107 encrypt.cipher-mode=<str> - Name of encryption cipher mode
108 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
109 encrypt.hash-alg=<str> - Name of encryption hash algorithm
110 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
111 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
112 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
113 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
114 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
115 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
116 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
117 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
118 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
119 refcount_bits=<num> - Width of a reference count entry in bits
120 size=<size> - Virtual disk size
122 Testing: create -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 128M
124 backing_file=<str> - File name of a base image
125 backing_fmt=<str> - Image format of the base image
126 cluster_size=<size> - qcow2 cluster size
127 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
128 compression_type=<str> - Compression method used for image cluster compression
129 data_file=<str> - File name of an external data file
130 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
131 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
132 encrypt.cipher-mode=<str> - Name of encryption cipher mode
133 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
134 encrypt.hash-alg=<str> - Name of encryption hash algorithm
135 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
136 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
137 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
138 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
139 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
140 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
141 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
142 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
143 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
144 refcount_bits=<num> - Width of a reference count entry in bits
145 size=<size> - Virtual disk size
147 Testing: create -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 128M
149 backing_file=<str> - File name of a base image
150 backing_fmt=<str> - Image format of the base image
151 cluster_size=<size> - qcow2 cluster size
152 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
153 compression_type=<str> - Compression method used for image cluster compression
154 data_file=<str> - File name of an external data file
155 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
156 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
157 encrypt.cipher-mode=<str> - Name of encryption cipher mode
158 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
159 encrypt.hash-alg=<str> - Name of encryption hash algorithm
160 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
161 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
162 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
163 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
164 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
165 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
166 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
167 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
168 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
169 refcount_bits=<num> - Width of a reference count entry in bits
170 size=<size> - Virtual disk size
172 Testing: create -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 128M
174 backing_file=<str> - File name of a base image
175 backing_fmt=<str> - Image format of the base image
176 cluster_size=<size> - qcow2 cluster size
177 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
178 compression_type=<str> - Compression method used for image cluster compression
179 data_file=<str> - File name of an external data file
180 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
181 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
182 encrypt.cipher-mode=<str> - Name of encryption cipher mode
183 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
184 encrypt.hash-alg=<str> - Name of encryption hash algorithm
185 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
186 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
187 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
188 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
189 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
190 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
191 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
192 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
193 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
194 refcount_bits=<num> - Width of a reference count entry in bits
195 size=<size> - Virtual disk size
197 Testing: create -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 128M
199 backing_file=<str> - File name of a base image
200 backing_fmt=<str> - Image format of the base image
201 cluster_size=<size> - qcow2 cluster size
202 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
203 compression_type=<str> - Compression method used for image cluster compression
204 data_file=<str> - File name of an external data file
205 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
206 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
207 encrypt.cipher-mode=<str> - Name of encryption cipher mode
208 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
209 encrypt.hash-alg=<str> - Name of encryption hash algorithm
210 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
211 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
212 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
213 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
214 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
215 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
216 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
217 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
218 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
219 refcount_bits=<num> - Width of a reference count entry in bits
220 size=<size> - Virtual disk size
222 Testing: create -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 128M
224 backing_file=<str> - File name of a base image
225 backing_fmt=<str> - Image format of the base image
226 cluster_size=<size> - qcow2 cluster size
227 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
228 compression_type=<str> - Compression method used for image cluster compression
229 data_file=<str> - File name of an external data file
230 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
231 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
232 encrypt.cipher-mode=<str> - Name of encryption cipher mode
233 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
234 encrypt.hash-alg=<str> - Name of encryption hash algorithm
235 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
236 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
237 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
238 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
239 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
240 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
241 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
242 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
243 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
244 refcount_bits=<num> - Width of a reference count entry in bits
245 size=<size> - Virtual disk size
247 Testing: create -f qcow2 -u -o backing_file=TEST_DIR/t.qcow2,,help -F qcow2 TEST_DIR/t.qcow2 128M
248 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 compression_type=zlib size=134217728 backing_file=TEST_DIR/t.qcow2,,help backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
250 Testing: create -f qcow2 -u -o backing_file=TEST_DIR/t.qcow2,,? -F qcow2 TEST_DIR/t.qcow2 128M
251 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 compression_type=zlib size=134217728 backing_file=TEST_DIR/t.qcow2,,? backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
253 Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 128M
254 qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
256 Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 128M
257 qemu-img: Invalid option list: ,help
259 Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 128M
260 qemu-img: Invalid option list: ,,
262 Testing: create -f qcow2 -o help
263 Supported qcow2 options:
264 backing_file=<str> - File name of a base image
265 backing_fmt=<str> - Image format of the base image
266 cluster_size=<size> - qcow2 cluster size
267 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
268 compression_type=<str> - Compression method used for image cluster compression
269 data_file=<str> - File name of an external data file
270 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
271 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
272 encrypt.cipher-mode=<str> - Name of encryption cipher mode
273 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
274 encrypt.hash-alg=<str> - Name of encryption hash algorithm
275 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
276 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
277 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
278 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
279 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
280 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
281 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
282 refcount_bits=<num> - Width of a reference count entry in bits
283 size=<size> - Virtual disk size
285 The protocol level may support further options.
286 Specify the target filename to include those options.
288 Testing: create -o help
289 Supported raw options:
290 size=<size> - Virtual disk size
292 The protocol level may support further options.
293 Specify the target filename to include those options.
295 Testing: create -f bochs -o help
296 qemu-img: Format driver 'bochs' does not support image creation
298 === convert: Options specified more than once ===
300 Testing: create -f qcow2 TEST_DIR/t.qcow2 128M
301 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 compression_type=zlib size=134217728 lazy_refcounts=off refcount_bits=16
303 Testing: convert -f foo -f qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
304 image: TEST_DIR/t.IMGFMT.base
306 virtual size: 128 MiB (134217728 bytes)
308 Testing: convert -O foo -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
309 image: TEST_DIR/t.IMGFMT.base
311 virtual size: 128 MiB (134217728 bytes)
314 Testing: convert -O qcow2 -o cluster_size=4k -o lazy_refcounts=on TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
315 image: TEST_DIR/t.IMGFMT.base
317 virtual size: 128 MiB (134217728 bytes)
319 Format specific information:
321 compression type: zlib
326 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
327 image: TEST_DIR/t.IMGFMT.base
329 virtual size: 128 MiB (134217728 bytes)
331 Format specific information:
333 compression type: zlib
338 Testing: convert -O qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
339 image: TEST_DIR/t.IMGFMT.base
341 virtual size: 128 MiB (134217728 bytes)
344 === convert: help for -o ===
346 Testing: convert -O qcow2 -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
348 backing_file=<str> - File name of a base image
349 backing_fmt=<str> - Image format of the base image
350 cluster_size=<size> - qcow2 cluster size
351 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
352 compression_type=<str> - Compression method used for image cluster compression
353 data_file=<str> - File name of an external data file
354 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
355 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
356 encrypt.cipher-mode=<str> - Name of encryption cipher mode
357 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
358 encrypt.hash-alg=<str> - Name of encryption hash algorithm
359 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
360 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
361 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
362 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
363 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
364 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
365 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
366 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
367 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
368 refcount_bits=<num> - Width of a reference count entry in bits
369 size=<size> - Virtual disk size
371 Testing: convert -O qcow2 -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
373 backing_file=<str> - File name of a base image
374 backing_fmt=<str> - Image format of the base image
375 cluster_size=<size> - qcow2 cluster size
376 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
377 compression_type=<str> - Compression method used for image cluster compression
378 data_file=<str> - File name of an external data file
379 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
380 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
381 encrypt.cipher-mode=<str> - Name of encryption cipher mode
382 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
383 encrypt.hash-alg=<str> - Name of encryption hash algorithm
384 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
385 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
386 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
387 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
388 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
389 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
390 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
391 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
392 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
393 refcount_bits=<num> - Width of a reference count entry in bits
394 size=<size> - Virtual disk size
396 Testing: convert -O qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
398 backing_file=<str> - File name of a base image
399 backing_fmt=<str> - Image format of the base image
400 cluster_size=<size> - qcow2 cluster size
401 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
402 compression_type=<str> - Compression method used for image cluster compression
403 data_file=<str> - File name of an external data file
404 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
405 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
406 encrypt.cipher-mode=<str> - Name of encryption cipher mode
407 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
408 encrypt.hash-alg=<str> - Name of encryption hash algorithm
409 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
410 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
411 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
412 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
413 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
414 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
415 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
416 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
417 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
418 refcount_bits=<num> - Width of a reference count entry in bits
419 size=<size> - Virtual disk size
421 Testing: convert -O qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
423 backing_file=<str> - File name of a base image
424 backing_fmt=<str> - Image format of the base image
425 cluster_size=<size> - qcow2 cluster size
426 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
427 compression_type=<str> - Compression method used for image cluster compression
428 data_file=<str> - File name of an external data file
429 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
430 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
431 encrypt.cipher-mode=<str> - Name of encryption cipher mode
432 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
433 encrypt.hash-alg=<str> - Name of encryption hash algorithm
434 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
435 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
436 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
437 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
438 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
439 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
440 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
441 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
442 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
443 refcount_bits=<num> - Width of a reference count entry in bits
444 size=<size> - Virtual disk size
446 Testing: convert -O qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
448 backing_file=<str> - File name of a base image
449 backing_fmt=<str> - Image format of the base image
450 cluster_size=<size> - qcow2 cluster size
451 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
452 compression_type=<str> - Compression method used for image cluster compression
453 data_file=<str> - File name of an external data file
454 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
455 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
456 encrypt.cipher-mode=<str> - Name of encryption cipher mode
457 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
458 encrypt.hash-alg=<str> - Name of encryption hash algorithm
459 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
460 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
461 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
462 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
463 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
464 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
465 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
466 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
467 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
468 refcount_bits=<num> - Width of a reference count entry in bits
469 size=<size> - Virtual disk size
471 Testing: convert -O qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
473 backing_file=<str> - File name of a base image
474 backing_fmt=<str> - Image format of the base image
475 cluster_size=<size> - qcow2 cluster size
476 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
477 compression_type=<str> - Compression method used for image cluster compression
478 data_file=<str> - File name of an external data file
479 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
480 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
481 encrypt.cipher-mode=<str> - Name of encryption cipher mode
482 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
483 encrypt.hash-alg=<str> - Name of encryption hash algorithm
484 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
485 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
486 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
487 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
488 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
489 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
490 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
491 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
492 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
493 refcount_bits=<num> - Width of a reference count entry in bits
494 size=<size> - Virtual disk size
496 Testing: convert -O qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
498 backing_file=<str> - File name of a base image
499 backing_fmt=<str> - Image format of the base image
500 cluster_size=<size> - qcow2 cluster size
501 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
502 compression_type=<str> - Compression method used for image cluster compression
503 data_file=<str> - File name of an external data file
504 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
505 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
506 encrypt.cipher-mode=<str> - Name of encryption cipher mode
507 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
508 encrypt.hash-alg=<str> - Name of encryption hash algorithm
509 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
510 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
511 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
512 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
513 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
514 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
515 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
516 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
517 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
518 refcount_bits=<num> - Width of a reference count entry in bits
519 size=<size> - Virtual disk size
521 Testing: convert -O qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
523 backing_file=<str> - File name of a base image
524 backing_fmt=<str> - Image format of the base image
525 cluster_size=<size> - qcow2 cluster size
526 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
527 compression_type=<str> - Compression method used for image cluster compression
528 data_file=<str> - File name of an external data file
529 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
530 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
531 encrypt.cipher-mode=<str> - Name of encryption cipher mode
532 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
533 encrypt.hash-alg=<str> - Name of encryption hash algorithm
534 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
535 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
536 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
537 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
538 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
539 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable
540 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
541 nocow=<bool (on/off)> - Turn off copy-on-write (valid only on btrfs)
542 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
543 refcount_bits=<num> - Width of a reference count entry in bits
544 size=<size> - Virtual disk size
546 Testing: convert -O qcow2 -o backing_fmt=qcow2,backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
547 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
549 Testing: convert -O qcow2 -o backing_fmt=qcow2,backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
550 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
552 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
553 qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
555 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
556 qemu-img: Invalid option list: ,help
558 Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
559 qemu-img: Invalid option list: ,,
561 Testing: convert -O qcow2 -o help
562 Supported qcow2 options:
563 backing_file=<str> - File name of a base image
564 backing_fmt=<str> - Image format of the base image
565 cluster_size=<size> - qcow2 cluster size
566 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
567 compression_type=<str> - Compression method used for image cluster compression
568 data_file=<str> - File name of an external data file
569 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
570 encrypt.cipher-alg=<str> - Name of encryption cipher algorithm
571 encrypt.cipher-mode=<str> - Name of encryption cipher mode
572 encrypt.format=<str> - Encrypt the image, format choices: 'aes', 'luks'
573 encrypt.hash-alg=<str> - Name of encryption hash algorithm
574 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
575 encrypt.ivgen-alg=<str> - Name of IV generator algorithm
576 encrypt.ivgen-hash-alg=<str> - Name of IV generator hash algorithm
577 encrypt.key-secret=<str> - ID of secret providing qcow AES key or LUKS passphrase
578 encryption=<bool (on/off)> - Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes)
579 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
580 preallocation=<str> - Preallocation mode (allowed values: off, metadata, falloc, full)
581 refcount_bits=<num> - Width of a reference count entry in bits
582 size=<size> - Virtual disk size
584 The protocol level may support further options.
585 Specify the target filename to include those options.
587 Testing: convert -o help
588 Supported raw options:
589 size=<size> - Virtual disk size
591 The protocol level may support further options.
592 Specify the target filename to include those options.
594 Testing: convert -O bochs -o help
595 qemu-img: Format driver 'bochs' does not support image creation
597 === convert: -C and other options ===
599 Testing: convert -C -S 4k -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.target
600 qemu-img: Cannot enable copy offloading when -S is used
602 Testing: convert -C -S 8k -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.target
603 qemu-img: Cannot enable copy offloading when -S is used
605 Testing: convert -C -c -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.target
606 qemu-img: Cannot enable copy offloading when -c is used
608 Testing: convert -C --salvage -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.target
609 qemu-img: Cannot use copy offloading in salvaging mode
611 === amend: Options specified more than once ===
613 Testing: amend -f foo -f qcow2 -o lazy_refcounts=on TEST_DIR/t.qcow2
614 image: TEST_DIR/t.IMGFMT
616 virtual size: 128 MiB (134217728 bytes)
618 Format specific information:
620 compression type: zlib
625 Testing: amend -f qcow2 -o size=130M -o lazy_refcounts=off TEST_DIR/t.qcow2
626 image: TEST_DIR/t.IMGFMT
628 virtual size: 130 MiB (136314880 bytes)
630 Format specific information:
632 compression type: zlib
633 lazy refcounts: false
637 Testing: amend -f qcow2 -o size=8M -o lazy_refcounts=on -o size=132M TEST_DIR/t.qcow2
638 image: TEST_DIR/t.IMGFMT
640 virtual size: 132 MiB (138412032 bytes)
642 Format specific information:
644 compression type: zlib
649 Testing: amend -f qcow2 -o size=4M,size=148M TEST_DIR/t.qcow2
650 image: TEST_DIR/t.IMGFMT
652 virtual size: 148 MiB (155189248 bytes)
655 === amend: help for -o ===
657 Testing: amend -f qcow2 -o help TEST_DIR/t.qcow2
658 Amend 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
673 Testing: amend -f qcow2 -o ? TEST_DIR/t.qcow2
674 Amend 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
689 Testing: amend -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2
690 Amend 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
705 Testing: amend -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2
706 Amend 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
721 Testing: amend -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2
722 Amend 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
737 Testing: amend -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2
738 Amend 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
753 Testing: amend -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2
754 Amend 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
769 Testing: amend -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2
770 Amend options for 'qcow2':
771 backing_file=<str> - File name of a base image
772 backing_fmt=<str> - Image format of the base image
773 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
774 data_file=<str> - File name of an external data file
775 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
776 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
777 encrypt.keyslot=<num> - Select a single keyslot to modify explicitly
778 encrypt.new-secret=<str> - New secret to set in the matching keyslots. Empty string to erase
779 encrypt.old-secret=<str> - Select all keyslots that match this password
780 encrypt.state=<str> - Select new state of affected keyslots (active/inactive)
781 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
782 refcount_bits=<num> - Width of a reference count entry in bits
783 size=<size> - Virtual disk size
785 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2
786 qemu-img: warning: Deprecated use of amend to alter the backing file; use qemu-img rebase instead
788 Testing: rebase -u -b -f qcow2 TEST_DIR/t.qcow2
790 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2
791 qemu-img: warning: Deprecated use of amend to alter the backing file; use qemu-img rebase instead
793 Testing: rebase -u -b -f qcow2 TEST_DIR/t.qcow2
795 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2
796 qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
798 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2
799 qemu-img: Invalid option list: ,help
801 Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2
802 qemu-img: Invalid option list: ,,
804 Testing: amend -f qcow2 -o help
805 Amend options for 'qcow2':
806 backing_file=<str> - File name of a base image
807 backing_fmt=<str> - Image format of the base image
808 compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
809 data_file=<str> - File name of an external data file
810 data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
811 encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
812 encrypt.keyslot=<num> - Select a single keyslot to modify explicitly
813 encrypt.new-secret=<str> - New secret to set in the matching keyslots. Empty string to erase
814 encrypt.old-secret=<str> - Select all keyslots that match this password
815 encrypt.state=<str> - Select new state of affected keyslots (active/inactive)
816 lazy_refcounts=<bool (on/off)> - Postpone refcount updates
817 refcount_bits=<num> - Width of a reference count entry in bits
818 size=<size> - Virtual disk size
820 Testing: amend -o help
821 qemu-img: Expecting one image file name
823 Testing: amend -f bochs -o help
824 qemu-img: Format driver 'bochs' does not support option amendment