]>
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 | |
6 | Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 encryption=off cluster_size=65536 lazy_refcounts=off | |
7 | ||
8 | Testing: info TEST_DIR/t.qcow2 | |
9 | image: TEST_DIR/t.qcow2 | |
10 | file format: qcow2 | |
11 | virtual size: 128M (134217728 bytes) | |
12 | disk size: 196K | |
13 | cluster_size: 65536 | |
14 | Format specific information: | |
15 | compat: 1.1 | |
16 | lazy refcounts: false | |
17 | ||
18 | Testing: create -f qcow2 -o cluster_size=4k -o lazy_refcounts=on TEST_DIR/t.qcow2 128M | |
19 | Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 encryption=off cluster_size=4096 lazy_refcounts=on | |
20 | ||
21 | Testing: info TEST_DIR/t.qcow2 | |
22 | image: TEST_DIR/t.qcow2 | |
23 | file format: qcow2 | |
24 | virtual size: 128M (134217728 bytes) | |
25 | disk size: 16K | |
26 | cluster_size: 4096 | |
27 | Format specific information: | |
28 | compat: 1.1 | |
29 | lazy refcounts: true | |
30 | ||
31 | Testing: create -f qcow2 -o cluster_size=4k -o lazy_refcounts=on -o cluster_size=8k TEST_DIR/t.qcow2 128M | |
32 | Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 encryption=off cluster_size=8192 lazy_refcounts=on | |
33 | ||
34 | Testing: info TEST_DIR/t.qcow2 | |
35 | image: TEST_DIR/t.qcow2 | |
36 | file format: qcow2 | |
37 | virtual size: 128M (134217728 bytes) | |
38 | disk size: 28K | |
39 | cluster_size: 8192 | |
40 | Format specific information: | |
41 | compat: 1.1 | |
42 | lazy refcounts: true | |
43 | ||
44 | Testing: create -f qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 128M | |
45 | Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 encryption=off cluster_size=8192 lazy_refcounts=off | |
46 | ||
47 | Testing: info TEST_DIR/t.qcow2 | |
48 | image: TEST_DIR/t.qcow2 | |
49 | file format: qcow2 | |
50 | virtual size: 128M (134217728 bytes) | |
51 | disk size: 28K | |
52 | cluster_size: 8192 | |
53 | Format specific information: | |
54 | compat: 1.1 | |
55 | lazy refcounts: false | |
56 | ||
57 | === create: help for -o === | |
58 | ||
59 | Testing: create -f qcow2 -o help TEST_DIR/t.qcow2 128M | |
60 | Supported options: | |
61 | size Virtual disk size | |
62 | compat Compatibility level (0.10 or 1.1) | |
63 | backing_file File name of a base image | |
64 | backing_fmt Image format of the base image | |
65 | encryption Encrypt the image | |
66 | cluster_size qcow2 cluster size | |
67 | preallocation Preallocation mode (allowed values: off, metadata) | |
68 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 69 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
70 | |
71 | Testing: create -f qcow2 -o ? TEST_DIR/t.qcow2 128M | |
72 | Supported options: | |
73 | size Virtual disk size | |
74 | compat Compatibility level (0.10 or 1.1) | |
75 | backing_file File name of a base image | |
76 | backing_fmt Image format of the base image | |
77 | encryption Encrypt the image | |
78 | cluster_size qcow2 cluster size | |
79 | preallocation Preallocation mode (allowed values: off, metadata) | |
80 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 81 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
82 | |
83 | Testing: create -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 128M | |
84 | Supported options: | |
85 | size Virtual disk size | |
86 | compat Compatibility level (0.10 or 1.1) | |
87 | backing_file File name of a base image | |
88 | backing_fmt Image format of the base image | |
89 | encryption Encrypt the image | |
90 | cluster_size qcow2 cluster size | |
91 | preallocation Preallocation mode (allowed values: off, metadata) | |
92 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 93 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
94 | |
95 | Testing: create -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 128M | |
96 | Supported options: | |
97 | size Virtual disk size | |
98 | compat Compatibility level (0.10 or 1.1) | |
99 | backing_file File name of a base image | |
100 | backing_fmt Image format of the base image | |
101 | encryption Encrypt the image | |
102 | cluster_size qcow2 cluster size | |
103 | preallocation Preallocation mode (allowed values: off, metadata) | |
104 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 105 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
106 | |
107 | Testing: create -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 128M | |
108 | Supported options: | |
109 | size Virtual disk size | |
110 | compat Compatibility level (0.10 or 1.1) | |
111 | backing_file File name of a base image | |
112 | backing_fmt Image format of the base image | |
113 | encryption Encrypt the image | |
114 | cluster_size qcow2 cluster size | |
115 | preallocation Preallocation mode (allowed values: off, metadata) | |
116 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 117 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
118 | |
119 | Testing: create -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 128M | |
120 | Supported options: | |
121 | size Virtual disk size | |
122 | compat Compatibility level (0.10 or 1.1) | |
123 | backing_file File name of a base image | |
124 | backing_fmt Image format of the base image | |
125 | encryption Encrypt the image | |
126 | cluster_size qcow2 cluster size | |
127 | preallocation Preallocation mode (allowed values: off, metadata) | |
128 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 129 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
130 | |
131 | Testing: create -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 128M | |
132 | Supported options: | |
133 | size Virtual disk size | |
134 | compat Compatibility level (0.10 or 1.1) | |
135 | backing_file File name of a base image | |
136 | backing_fmt Image format of the base image | |
137 | encryption Encrypt the image | |
138 | cluster_size qcow2 cluster size | |
139 | preallocation Preallocation mode (allowed values: off, metadata) | |
140 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 141 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
142 | |
143 | Testing: create -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 128M | |
144 | Supported options: | |
145 | size Virtual disk size | |
146 | compat Compatibility level (0.10 or 1.1) | |
147 | backing_file File name of a base image | |
148 | backing_fmt Image format of the base image | |
149 | encryption Encrypt the image | |
150 | cluster_size qcow2 cluster size | |
151 | preallocation Preallocation mode (allowed values: off, metadata) | |
152 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 153 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
154 | |
155 | Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 128M | |
156 | Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 backing_file='TEST_DIR/t.qcow2,help' encryption=off cluster_size=65536 lazy_refcounts=off | |
157 | ||
158 | Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 128M | |
159 | Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 backing_file='TEST_DIR/t.qcow2,?' encryption=off cluster_size=65536 lazy_refcounts=off | |
160 | ||
161 | Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 128M | |
162 | qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2, | |
163 | ||
164 | Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 128M | |
165 | qemu-img: Invalid option list: ,help | |
166 | ||
167 | Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 128M | |
168 | qemu-img: Invalid option list: ,, | |
169 | ||
170 | Testing: create -f qcow2 -o help | |
171 | Supported options: | |
172 | size Virtual disk size | |
173 | compat Compatibility level (0.10 or 1.1) | |
174 | backing_file File name of a base image | |
175 | backing_fmt Image format of the base image | |
176 | encryption Encrypt the image | |
177 | cluster_size qcow2 cluster size | |
178 | preallocation Preallocation mode (allowed values: off, metadata) | |
179 | lazy_refcounts Postpone refcount updates | |
180 | ||
181 | Testing: create -o help | |
182 | Supported options: | |
183 | size Virtual disk size | |
184 | ||
185 | === convert: Options specified more than once === | |
186 | ||
187 | Testing: create -f qcow2 TEST_DIR/t.qcow2 128M | |
188 | Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 encryption=off cluster_size=65536 lazy_refcounts=off | |
189 | ||
190 | Testing: convert -f foo -f qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
191 | ||
192 | Testing: info TEST_DIR/t.qcow2.base | |
193 | image: TEST_DIR/t.qcow2.base | |
194 | file format: raw | |
195 | virtual size: 128M (134217728 bytes) | |
196 | disk size: 0 | |
197 | ||
198 | Testing: convert -O foo -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
199 | ||
200 | Testing: info TEST_DIR/t.qcow2.base | |
201 | image: TEST_DIR/t.qcow2.base | |
202 | file format: qcow2 | |
203 | virtual size: 128M (134217728 bytes) | |
204 | disk size: 196K | |
205 | cluster_size: 65536 | |
206 | Format specific information: | |
207 | compat: 1.1 | |
208 | lazy refcounts: false | |
209 | ||
210 | Testing: convert -O qcow2 -o cluster_size=4k -o lazy_refcounts=on TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
211 | ||
212 | Testing: info TEST_DIR/t.qcow2.base | |
213 | image: TEST_DIR/t.qcow2.base | |
214 | file format: qcow2 | |
215 | virtual size: 128M (134217728 bytes) | |
216 | disk size: 16K | |
217 | cluster_size: 4096 | |
218 | Format specific information: | |
219 | compat: 1.1 | |
220 | lazy refcounts: true | |
221 | ||
222 | 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 | |
223 | ||
224 | Testing: info TEST_DIR/t.qcow2.base | |
225 | image: TEST_DIR/t.qcow2.base | |
226 | file format: qcow2 | |
227 | virtual size: 128M (134217728 bytes) | |
228 | disk size: 28K | |
229 | cluster_size: 8192 | |
230 | Format specific information: | |
231 | compat: 1.1 | |
232 | lazy refcounts: true | |
233 | ||
234 | Testing: convert -O qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
235 | ||
236 | Testing: info TEST_DIR/t.qcow2.base | |
237 | image: TEST_DIR/t.qcow2.base | |
238 | file format: qcow2 | |
239 | virtual size: 128M (134217728 bytes) | |
240 | disk size: 28K | |
241 | cluster_size: 8192 | |
242 | Format specific information: | |
243 | compat: 1.1 | |
244 | lazy refcounts: false | |
245 | ||
246 | === convert: help for -o === | |
247 | ||
248 | Testing: convert -O qcow2 -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
249 | Supported options: | |
250 | size Virtual disk size | |
251 | compat Compatibility level (0.10 or 1.1) | |
252 | backing_file File name of a base image | |
253 | backing_fmt Image format of the base image | |
254 | encryption Encrypt the image | |
255 | cluster_size qcow2 cluster size | |
256 | preallocation Preallocation mode (allowed values: off, metadata) | |
257 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 258 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
259 | |
260 | Testing: convert -O qcow2 -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
261 | Supported options: | |
262 | size Virtual disk size | |
263 | compat Compatibility level (0.10 or 1.1) | |
264 | backing_file File name of a base image | |
265 | backing_fmt Image format of the base image | |
266 | encryption Encrypt the image | |
267 | cluster_size qcow2 cluster size | |
268 | preallocation Preallocation mode (allowed values: off, metadata) | |
269 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 270 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
271 | |
272 | Testing: convert -O qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
273 | Supported options: | |
274 | size Virtual disk size | |
275 | compat Compatibility level (0.10 or 1.1) | |
276 | backing_file File name of a base image | |
277 | backing_fmt Image format of the base image | |
278 | encryption Encrypt the image | |
279 | cluster_size qcow2 cluster size | |
280 | preallocation Preallocation mode (allowed values: off, metadata) | |
281 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 282 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
283 | |
284 | Testing: convert -O qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
285 | Supported options: | |
286 | size Virtual disk size | |
287 | compat Compatibility level (0.10 or 1.1) | |
288 | backing_file File name of a base image | |
289 | backing_fmt Image format of the base image | |
290 | encryption Encrypt the image | |
291 | cluster_size qcow2 cluster size | |
292 | preallocation Preallocation mode (allowed values: off, metadata) | |
293 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 294 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
295 | |
296 | Testing: convert -O qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
297 | Supported options: | |
298 | size Virtual disk size | |
299 | compat Compatibility level (0.10 or 1.1) | |
300 | backing_file File name of a base image | |
301 | backing_fmt Image format of the base image | |
302 | encryption Encrypt the image | |
303 | cluster_size qcow2 cluster size | |
304 | preallocation Preallocation mode (allowed values: off, metadata) | |
305 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 306 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
307 | |
308 | Testing: convert -O qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
309 | Supported options: | |
310 | size Virtual disk size | |
311 | compat Compatibility level (0.10 or 1.1) | |
312 | backing_file File name of a base image | |
313 | backing_fmt Image format of the base image | |
314 | encryption Encrypt the image | |
315 | cluster_size qcow2 cluster size | |
316 | preallocation Preallocation mode (allowed values: off, metadata) | |
317 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 318 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
319 | |
320 | Testing: convert -O qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
321 | Supported options: | |
322 | size Virtual disk size | |
323 | compat Compatibility level (0.10 or 1.1) | |
324 | backing_file File name of a base image | |
325 | backing_fmt Image format of the base image | |
326 | encryption Encrypt the image | |
327 | cluster_size qcow2 cluster size | |
328 | preallocation Preallocation mode (allowed values: off, metadata) | |
329 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 330 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
331 | |
332 | Testing: convert -O qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
333 | Supported options: | |
334 | size Virtual disk size | |
335 | compat Compatibility level (0.10 or 1.1) | |
336 | backing_file File name of a base image | |
337 | backing_fmt Image format of the base image | |
338 | encryption Encrypt the image | |
339 | cluster_size qcow2 cluster size | |
340 | preallocation Preallocation mode (allowed values: off, metadata) | |
341 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 342 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
343 | |
344 | Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
345 | 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 | |
346 | ||
347 | Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
348 | 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 | |
349 | ||
350 | Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
351 | qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2, | |
352 | ||
353 | Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
354 | qemu-img: Invalid option list: ,help | |
355 | ||
356 | Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base | |
357 | qemu-img: Invalid option list: ,, | |
358 | ||
359 | Testing: convert -O qcow2 -o help | |
360 | Supported options: | |
361 | size Virtual disk size | |
362 | compat Compatibility level (0.10 or 1.1) | |
363 | backing_file File name of a base image | |
364 | backing_fmt Image format of the base image | |
365 | encryption Encrypt the image | |
366 | cluster_size qcow2 cluster size | |
367 | preallocation Preallocation mode (allowed values: off, metadata) | |
368 | lazy_refcounts Postpone refcount updates | |
369 | ||
370 | Testing: convert -o help | |
371 | Supported options: | |
372 | size Virtual disk size | |
373 | ||
374 | === amend: Options specified more than once === | |
375 | ||
376 | Testing: amend -f foo -f qcow2 -o lazy_refcounts=on TEST_DIR/t.qcow2 | |
377 | ||
378 | Testing: info TEST_DIR/t.qcow2 | |
379 | image: TEST_DIR/t.qcow2 | |
380 | file format: qcow2 | |
381 | virtual size: 128M (134217728 bytes) | |
382 | disk size: 196K | |
383 | cluster_size: 65536 | |
384 | Format specific information: | |
385 | compat: 1.1 | |
386 | lazy refcounts: true | |
387 | ||
388 | Testing: amend -f qcow2 -o size=130M -o lazy_refcounts=off TEST_DIR/t.qcow2 | |
389 | ||
390 | Testing: info TEST_DIR/t.qcow2 | |
391 | image: TEST_DIR/t.qcow2 | |
392 | file format: qcow2 | |
393 | virtual size: 130M (136314880 bytes) | |
394 | disk size: 196K | |
395 | cluster_size: 65536 | |
396 | Format specific information: | |
397 | compat: 1.1 | |
398 | lazy refcounts: false | |
399 | ||
400 | Testing: amend -f qcow2 -o size=8M -o lazy_refcounts=on -o size=132M TEST_DIR/t.qcow2 | |
401 | ||
402 | Testing: info TEST_DIR/t.qcow2 | |
403 | image: TEST_DIR/t.qcow2 | |
404 | file format: qcow2 | |
405 | virtual size: 132M (138412032 bytes) | |
406 | disk size: 196K | |
407 | cluster_size: 65536 | |
408 | Format specific information: | |
409 | compat: 1.1 | |
410 | lazy refcounts: true | |
411 | ||
412 | Testing: amend -f qcow2 -o size=4M,size=148M TEST_DIR/t.qcow2 | |
413 | ||
414 | Testing: info TEST_DIR/t.qcow2 | |
415 | image: TEST_DIR/t.qcow2 | |
416 | file format: qcow2 | |
417 | virtual size: 148M (155189248 bytes) | |
418 | disk size: 196K | |
419 | cluster_size: 65536 | |
420 | Format specific information: | |
421 | compat: 1.1 | |
422 | lazy refcounts: true | |
423 | ||
424 | === amend: help for -o === | |
425 | ||
426 | Testing: amend -f qcow2 -o help TEST_DIR/t.qcow2 | |
427 | Supported options: | |
428 | size Virtual disk size | |
429 | compat Compatibility level (0.10 or 1.1) | |
430 | backing_file File name of a base image | |
431 | backing_fmt Image format of the base image | |
432 | encryption Encrypt the image | |
433 | cluster_size qcow2 cluster size | |
434 | preallocation Preallocation mode (allowed values: off, metadata) | |
435 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 436 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
437 | |
438 | Testing: amend -f qcow2 -o ? TEST_DIR/t.qcow2 | |
439 | Supported options: | |
440 | size Virtual disk size | |
441 | compat Compatibility level (0.10 or 1.1) | |
442 | backing_file File name of a base image | |
443 | backing_fmt Image format of the base image | |
444 | encryption Encrypt the image | |
445 | cluster_size qcow2 cluster size | |
446 | preallocation Preallocation mode (allowed values: off, metadata) | |
447 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 448 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
449 | |
450 | Testing: amend -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 | |
451 | Supported options: | |
452 | size Virtual disk size | |
453 | compat Compatibility level (0.10 or 1.1) | |
454 | backing_file File name of a base image | |
455 | backing_fmt Image format of the base image | |
456 | encryption Encrypt the image | |
457 | cluster_size qcow2 cluster size | |
458 | preallocation Preallocation mode (allowed values: off, metadata) | |
459 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 460 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
461 | |
462 | Testing: amend -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 | |
463 | Supported options: | |
464 | size Virtual disk size | |
465 | compat Compatibility level (0.10 or 1.1) | |
466 | backing_file File name of a base image | |
467 | backing_fmt Image format of the base image | |
468 | encryption Encrypt the image | |
469 | cluster_size qcow2 cluster size | |
470 | preallocation Preallocation mode (allowed values: off, metadata) | |
471 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 472 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
473 | |
474 | Testing: amend -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 | |
475 | Supported options: | |
476 | size Virtual disk size | |
477 | compat Compatibility level (0.10 or 1.1) | |
478 | backing_file File name of a base image | |
479 | backing_fmt Image format of the base image | |
480 | encryption Encrypt the image | |
481 | cluster_size qcow2 cluster size | |
482 | preallocation Preallocation mode (allowed values: off, metadata) | |
483 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 484 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
485 | |
486 | Testing: amend -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 | |
487 | Supported options: | |
488 | size Virtual disk size | |
489 | compat Compatibility level (0.10 or 1.1) | |
490 | backing_file File name of a base image | |
491 | backing_fmt Image format of the base image | |
492 | encryption Encrypt the image | |
493 | cluster_size qcow2 cluster size | |
494 | preallocation Preallocation mode (allowed values: off, metadata) | |
495 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 496 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
497 | |
498 | Testing: amend -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 | |
499 | Supported options: | |
500 | size Virtual disk size | |
501 | compat Compatibility level (0.10 or 1.1) | |
502 | backing_file File name of a base image | |
503 | backing_fmt Image format of the base image | |
504 | encryption Encrypt the image | |
505 | cluster_size qcow2 cluster size | |
506 | preallocation Preallocation mode (allowed values: off, metadata) | |
507 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 508 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
509 | |
510 | Testing: amend -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 | |
511 | Supported options: | |
512 | size Virtual disk size | |
513 | compat Compatibility level (0.10 or 1.1) | |
514 | backing_file File name of a base image | |
515 | backing_fmt Image format of the base image | |
516 | encryption Encrypt the image | |
517 | cluster_size qcow2 cluster size | |
518 | preallocation Preallocation mode (allowed values: off, metadata) | |
519 | lazy_refcounts Postpone refcount updates | |
4ab15590 | 520 | nocow Turn off copy-on-write (valid only on btrfs) |
a33cc31d KW |
521 | |
522 | Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 | |
523 | ||
524 | Testing: rebase -u -b -f qcow2 TEST_DIR/t.qcow2 | |
525 | ||
526 | Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 | |
527 | ||
528 | Testing: rebase -u -b -f qcow2 TEST_DIR/t.qcow2 | |
529 | ||
530 | Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 | |
531 | qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2, | |
532 | ||
533 | Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 | |
534 | qemu-img: Invalid option list: ,help | |
535 | ||
536 | Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 | |
537 | qemu-img: Invalid option list: ,, | |
538 | ||
539 | Testing: amend -f qcow2 -o help | |
540 | Supported options: | |
541 | size Virtual disk size | |
542 | compat Compatibility level (0.10 or 1.1) | |
543 | backing_file File name of a base image | |
544 | backing_fmt Image format of the base image | |
545 | encryption Encrypt the image | |
546 | cluster_size qcow2 cluster size | |
547 | preallocation Preallocation mode (allowed values: off, metadata) | |
548 | lazy_refcounts Postpone refcount updates | |
549 | ||
550 | Testing: convert -o help | |
551 | Supported options: | |
552 | size Virtual disk size | |
553 | *** done |