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