Statistics
| Branch: | Revision:

root / tests / qemu-iotests / 082.out @ a33cc31d

History | View | Annotate | Download (19 kB)

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
69

    
70
Testing: create -f qcow2 -o ? TEST_DIR/t.qcow2 128M
71
Supported options:
72
size             Virtual disk size
73
compat           Compatibility level (0.10 or 1.1)
74
backing_file     File name of a base image
75
backing_fmt      Image format of the base image
76
encryption       Encrypt the image
77
cluster_size     qcow2 cluster size
78
preallocation    Preallocation mode (allowed values: off, metadata)
79
lazy_refcounts   Postpone refcount updates
80

    
81
Testing: create -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 128M
82
Supported options:
83
size             Virtual disk size
84
compat           Compatibility level (0.10 or 1.1)
85
backing_file     File name of a base image
86
backing_fmt      Image format of the base image
87
encryption       Encrypt the image
88
cluster_size     qcow2 cluster size
89
preallocation    Preallocation mode (allowed values: off, metadata)
90
lazy_refcounts   Postpone refcount updates
91

    
92
Testing: create -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 128M
93
Supported options:
94
size             Virtual disk size
95
compat           Compatibility level (0.10 or 1.1)
96
backing_file     File name of a base image
97
backing_fmt      Image format of the base image
98
encryption       Encrypt the image
99
cluster_size     qcow2 cluster size
100
preallocation    Preallocation mode (allowed values: off, metadata)
101
lazy_refcounts   Postpone refcount updates
102

    
103
Testing: create -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 128M
104
Supported options:
105
size             Virtual disk size
106
compat           Compatibility level (0.10 or 1.1)
107
backing_file     File name of a base image
108
backing_fmt      Image format of the base image
109
encryption       Encrypt the image
110
cluster_size     qcow2 cluster size
111
preallocation    Preallocation mode (allowed values: off, metadata)
112
lazy_refcounts   Postpone refcount updates
113

    
114
Testing: create -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 128M
115
Supported options:
116
size             Virtual disk size
117
compat           Compatibility level (0.10 or 1.1)
118
backing_file     File name of a base image
119
backing_fmt      Image format of the base image
120
encryption       Encrypt the image
121
cluster_size     qcow2 cluster size
122
preallocation    Preallocation mode (allowed values: off, metadata)
123
lazy_refcounts   Postpone refcount updates
124

    
125
Testing: create -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 128M
126
Supported options:
127
size             Virtual disk size
128
compat           Compatibility level (0.10 or 1.1)
129
backing_file     File name of a base image
130
backing_fmt      Image format of the base image
131
encryption       Encrypt the image
132
cluster_size     qcow2 cluster size
133
preallocation    Preallocation mode (allowed values: off, metadata)
134
lazy_refcounts   Postpone refcount updates
135

    
136
Testing: create -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 128M
137
Supported options:
138
size             Virtual disk size
139
compat           Compatibility level (0.10 or 1.1)
140
backing_file     File name of a base image
141
backing_fmt      Image format of the base image
142
encryption       Encrypt the image
143
cluster_size     qcow2 cluster size
144
preallocation    Preallocation mode (allowed values: off, metadata)
145
lazy_refcounts   Postpone refcount updates
146

    
147
Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 128M
148
Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 backing_file='TEST_DIR/t.qcow2,help' encryption=off cluster_size=65536 lazy_refcounts=off 
149

    
150
Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 128M
151
Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 backing_file='TEST_DIR/t.qcow2,?' encryption=off cluster_size=65536 lazy_refcounts=off 
152

    
153
Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 128M
154
qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
155

    
156
Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 128M
157
qemu-img: Invalid option list: ,help
158

    
159
Testing: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 128M
160
qemu-img: Invalid option list: ,,
161

    
162
Testing: create -f qcow2 -o help
163
Supported options:
164
size             Virtual disk size
165
compat           Compatibility level (0.10 or 1.1)
166
backing_file     File name of a base image
167
backing_fmt      Image format of the base image
168
encryption       Encrypt the image
169
cluster_size     qcow2 cluster size
170
preallocation    Preallocation mode (allowed values: off, metadata)
171
lazy_refcounts   Postpone refcount updates
172

    
173
Testing: create -o help
174
Supported options:
175
size             Virtual disk size
176

    
177
=== convert: Options specified more than once ===
178

    
179
Testing: create -f qcow2 TEST_DIR/t.qcow2 128M
180
Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 encryption=off cluster_size=65536 lazy_refcounts=off 
181

    
182
Testing: convert -f foo -f qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
183

    
184
Testing: info TEST_DIR/t.qcow2.base
185
image: TEST_DIR/t.qcow2.base
186
file format: raw
187
virtual size: 128M (134217728 bytes)
188
disk size: 0
189

    
190
Testing: convert -O foo -O 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: qcow2
195
virtual size: 128M (134217728 bytes)
196
disk size: 196K
197
cluster_size: 65536
198
Format specific information:
199
    compat: 1.1
200
    lazy refcounts: false
201

    
202
Testing: convert -O qcow2 -o cluster_size=4k -o lazy_refcounts=on TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
203

    
204
Testing: info TEST_DIR/t.qcow2.base
205
image: TEST_DIR/t.qcow2.base
206
file format: qcow2
207
virtual size: 128M (134217728 bytes)
208
disk size: 16K
209
cluster_size: 4096
210
Format specific information:
211
    compat: 1.1
212
    lazy refcounts: true
213

    
214
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
215

    
216
Testing: info TEST_DIR/t.qcow2.base
217
image: TEST_DIR/t.qcow2.base
218
file format: qcow2
219
virtual size: 128M (134217728 bytes)
220
disk size: 28K
221
cluster_size: 8192
222
Format specific information:
223
    compat: 1.1
224
    lazy refcounts: true
225

    
226
Testing: convert -O qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
227

    
228
Testing: info TEST_DIR/t.qcow2.base
229
image: TEST_DIR/t.qcow2.base
230
file format: qcow2
231
virtual size: 128M (134217728 bytes)
232
disk size: 28K
233
cluster_size: 8192
234
Format specific information:
235
    compat: 1.1
236
    lazy refcounts: false
237

    
238
=== convert: help for -o ===
239

    
240
Testing: convert -O qcow2 -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
241
Supported options:
242
size             Virtual disk size
243
compat           Compatibility level (0.10 or 1.1)
244
backing_file     File name of a base image
245
backing_fmt      Image format of the base image
246
encryption       Encrypt the image
247
cluster_size     qcow2 cluster size
248
preallocation    Preallocation mode (allowed values: off, metadata)
249
lazy_refcounts   Postpone refcount updates
250

    
251
Testing: convert -O qcow2 -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
252
Supported options:
253
size             Virtual disk size
254
compat           Compatibility level (0.10 or 1.1)
255
backing_file     File name of a base image
256
backing_fmt      Image format of the base image
257
encryption       Encrypt the image
258
cluster_size     qcow2 cluster size
259
preallocation    Preallocation mode (allowed values: off, metadata)
260
lazy_refcounts   Postpone refcount updates
261

    
262
Testing: convert -O qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
263
Supported options:
264
size             Virtual disk size
265
compat           Compatibility level (0.10 or 1.1)
266
backing_file     File name of a base image
267
backing_fmt      Image format of the base image
268
encryption       Encrypt the image
269
cluster_size     qcow2 cluster size
270
preallocation    Preallocation mode (allowed values: off, metadata)
271
lazy_refcounts   Postpone refcount updates
272

    
273
Testing: convert -O qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
274
Supported options:
275
size             Virtual disk size
276
compat           Compatibility level (0.10 or 1.1)
277
backing_file     File name of a base image
278
backing_fmt      Image format of the base image
279
encryption       Encrypt the image
280
cluster_size     qcow2 cluster size
281
preallocation    Preallocation mode (allowed values: off, metadata)
282
lazy_refcounts   Postpone refcount updates
283

    
284
Testing: convert -O qcow2 -o help,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
294

    
295
Testing: convert -O qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
296
Supported options:
297
size             Virtual disk size
298
compat           Compatibility level (0.10 or 1.1)
299
backing_file     File name of a base image
300
backing_fmt      Image format of the base image
301
encryption       Encrypt the image
302
cluster_size     qcow2 cluster size
303
preallocation    Preallocation mode (allowed values: off, metadata)
304
lazy_refcounts   Postpone refcount updates
305

    
306
Testing: convert -O qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
307
Supported options:
308
size             Virtual disk size
309
compat           Compatibility level (0.10 or 1.1)
310
backing_file     File name of a base image
311
backing_fmt      Image format of the base image
312
encryption       Encrypt the image
313
cluster_size     qcow2 cluster size
314
preallocation    Preallocation mode (allowed values: off, metadata)
315
lazy_refcounts   Postpone refcount updates
316

    
317
Testing: convert -O qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
318
Supported options:
319
size             Virtual disk size
320
compat           Compatibility level (0.10 or 1.1)
321
backing_file     File name of a base image
322
backing_fmt      Image format of the base image
323
encryption       Encrypt the image
324
cluster_size     qcow2 cluster size
325
preallocation    Preallocation mode (allowed values: off, metadata)
326
lazy_refcounts   Postpone refcount updates
327

    
328
Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
329
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
330

    
331
Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
332
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
333

    
334
Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
335
qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
336

    
337
Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
338
qemu-img: Invalid option list: ,help
339

    
340
Testing: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base
341
qemu-img: Invalid option list: ,,
342

    
343
Testing: convert -O qcow2 -o help
344
Supported options:
345
size             Virtual disk size
346
compat           Compatibility level (0.10 or 1.1)
347
backing_file     File name of a base image
348
backing_fmt      Image format of the base image
349
encryption       Encrypt the image
350
cluster_size     qcow2 cluster size
351
preallocation    Preallocation mode (allowed values: off, metadata)
352
lazy_refcounts   Postpone refcount updates
353

    
354
Testing: convert -o help
355
Supported options:
356
size             Virtual disk size
357

    
358
=== amend: Options specified more than once ===
359

    
360
Testing: amend -f foo -f qcow2 -o lazy_refcounts=on TEST_DIR/t.qcow2
361

    
362
Testing: info TEST_DIR/t.qcow2
363
image: TEST_DIR/t.qcow2
364
file format: qcow2
365
virtual size: 128M (134217728 bytes)
366
disk size: 196K
367
cluster_size: 65536
368
Format specific information:
369
    compat: 1.1
370
    lazy refcounts: true
371

    
372
Testing: amend -f qcow2 -o size=130M -o lazy_refcounts=off TEST_DIR/t.qcow2
373

    
374
Testing: info TEST_DIR/t.qcow2
375
image: TEST_DIR/t.qcow2
376
file format: qcow2
377
virtual size: 130M (136314880 bytes)
378
disk size: 196K
379
cluster_size: 65536
380
Format specific information:
381
    compat: 1.1
382
    lazy refcounts: false
383

    
384
Testing: amend -f qcow2 -o size=8M -o lazy_refcounts=on -o size=132M TEST_DIR/t.qcow2
385

    
386
Testing: info TEST_DIR/t.qcow2
387
image: TEST_DIR/t.qcow2
388
file format: qcow2
389
virtual size: 132M (138412032 bytes)
390
disk size: 196K
391
cluster_size: 65536
392
Format specific information:
393
    compat: 1.1
394
    lazy refcounts: true
395

    
396
Testing: amend -f qcow2 -o size=4M,size=148M TEST_DIR/t.qcow2
397

    
398
Testing: info TEST_DIR/t.qcow2
399
image: TEST_DIR/t.qcow2
400
file format: qcow2
401
virtual size: 148M (155189248 bytes)
402
disk size: 196K
403
cluster_size: 65536
404
Format specific information:
405
    compat: 1.1
406
    lazy refcounts: true
407

    
408
=== amend: help for -o ===
409

    
410
Testing: amend -f qcow2 -o help TEST_DIR/t.qcow2
411
Supported options:
412
size             Virtual disk size
413
compat           Compatibility level (0.10 or 1.1)
414
backing_file     File name of a base image
415
backing_fmt      Image format of the base image
416
encryption       Encrypt the image
417
cluster_size     qcow2 cluster size
418
preallocation    Preallocation mode (allowed values: off, metadata)
419
lazy_refcounts   Postpone refcount updates
420

    
421
Testing: amend -f qcow2 -o ? TEST_DIR/t.qcow2
422
Supported options:
423
size             Virtual disk size
424
compat           Compatibility level (0.10 or 1.1)
425
backing_file     File name of a base image
426
backing_fmt      Image format of the base image
427
encryption       Encrypt the image
428
cluster_size     qcow2 cluster size
429
preallocation    Preallocation mode (allowed values: off, metadata)
430
lazy_refcounts   Postpone refcount updates
431

    
432
Testing: amend -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2
433
Supported options:
434
size             Virtual disk size
435
compat           Compatibility level (0.10 or 1.1)
436
backing_file     File name of a base image
437
backing_fmt      Image format of the base image
438
encryption       Encrypt the image
439
cluster_size     qcow2 cluster size
440
preallocation    Preallocation mode (allowed values: off, metadata)
441
lazy_refcounts   Postpone refcount updates
442

    
443
Testing: amend -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2
444
Supported options:
445
size             Virtual disk size
446
compat           Compatibility level (0.10 or 1.1)
447
backing_file     File name of a base image
448
backing_fmt      Image format of the base image
449
encryption       Encrypt the image
450
cluster_size     qcow2 cluster size
451
preallocation    Preallocation mode (allowed values: off, metadata)
452
lazy_refcounts   Postpone refcount updates
453

    
454
Testing: amend -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2
455
Supported options:
456
size             Virtual disk size
457
compat           Compatibility level (0.10 or 1.1)
458
backing_file     File name of a base image
459
backing_fmt      Image format of the base image
460
encryption       Encrypt the image
461
cluster_size     qcow2 cluster size
462
preallocation    Preallocation mode (allowed values: off, metadata)
463
lazy_refcounts   Postpone refcount updates
464

    
465
Testing: amend -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2
466
Supported options:
467
size             Virtual disk size
468
compat           Compatibility level (0.10 or 1.1)
469
backing_file     File name of a base image
470
backing_fmt      Image format of the base image
471
encryption       Encrypt the image
472
cluster_size     qcow2 cluster size
473
preallocation    Preallocation mode (allowed values: off, metadata)
474
lazy_refcounts   Postpone refcount updates
475

    
476
Testing: amend -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2
477
Supported options:
478
size             Virtual disk size
479
compat           Compatibility level (0.10 or 1.1)
480
backing_file     File name of a base image
481
backing_fmt      Image format of the base image
482
encryption       Encrypt the image
483
cluster_size     qcow2 cluster size
484
preallocation    Preallocation mode (allowed values: off, metadata)
485
lazy_refcounts   Postpone refcount updates
486

    
487
Testing: amend -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2
488
Supported options:
489
size             Virtual disk size
490
compat           Compatibility level (0.10 or 1.1)
491
backing_file     File name of a base image
492
backing_fmt      Image format of the base image
493
encryption       Encrypt the image
494
cluster_size     qcow2 cluster size
495
preallocation    Preallocation mode (allowed values: off, metadata)
496
lazy_refcounts   Postpone refcount updates
497

    
498
Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2
499

    
500
Testing: rebase -u -b  -f qcow2 TEST_DIR/t.qcow2
501

    
502
Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2
503

    
504
Testing: rebase -u -b  -f qcow2 TEST_DIR/t.qcow2
505

    
506
Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2
507
qemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2,
508

    
509
Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2
510
qemu-img: Invalid option list: ,help
511

    
512
Testing: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2
513
qemu-img: Invalid option list: ,,
514

    
515
Testing: amend -f qcow2 -o help
516
Supported options:
517
size             Virtual disk size
518
compat           Compatibility level (0.10 or 1.1)
519
backing_file     File name of a base image
520
backing_fmt      Image format of the base image
521
encryption       Encrypt the image
522
cluster_size     qcow2 cluster size
523
preallocation    Preallocation mode (allowed values: off, metadata)
524
lazy_refcounts   Postpone refcount updates
525

    
526
Testing: convert -o help
527
Supported options:
528
size             Virtual disk size
529
*** done