xref: /qemu/tests/qemu-iotests/178.out.qcow2 (revision fc8c745d)
1QA output created by 178
2== Input validation ==
3
4Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
5qemu-img: Either --size N or one filename must be specified.
6qemu-img: --size N cannot be used together with a filename.
7qemu-img: At most one filename argument is allowed.
8qemu-img: Either --size N or one filename must be specified.
9qemu-img: --image-opts, -f, and -l require a filename argument.
10qemu-img: --image-opts, -f, and -l require a filename argument.
11qemu-img: --image-opts, -f, and -l require a filename argument.
12qemu-img: Invalid option list: ,
13qemu-img: Invalid parameter 'snapshot.foo'
14qemu-img: Failed in parsing snapshot param 'snapshot.foo=bar'
15qemu-img: --output must be used with human or json as argument.
16qemu-img: Invalid image size specified. You may use k, M, G, T, P or E suffixes for
17qemu-img: kilobytes, megabytes, gigabytes, terabytes, petabytes and exabytes.
18qemu-img: Unknown file format 'foo'
19
20== Size calculation for a new file (human) ==
21
22required size: 196608
23fully allocated size: 196608
24required size: 589824
25fully allocated size: 2148073472
26required size: 10747904
27fully allocated size: 68730224640
28required size: 42205184
29fully allocated size: 274920112128
30required size: 168034304
31fully allocated size: 1099679662080
32required size: 343650009088
33fully allocated size: 2252143463694336
34qemu-img: The image size is too large (try using a larger cluster size)
35
36== Empty qcow2 input image (human) ==
37
38Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=0
39required size: 196608
40fully allocated size: 196608
41bitmaps size: 0
42
43converted image file size in bytes: 196608
44
45== qcow2 input image with data (human) ==
46
47Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
48required size: 393216
49fully allocated size: 1074135040
50bitmaps size: 0
51wrote 512/512 bytes at offset 512
52512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
53wrote 65536/65536 bytes at offset 65536
5464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
55wrote 64512/64512 bytes at offset 134217728
5663 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
57required size: 589824
58fully allocated size: 1074135040
59bitmaps size: 0
60
61converted image file size in bytes: 524288
62
63== qcow2 input image with internal snapshot (human) ==
64
65required size: 524288
66fully allocated size: 1074135040
67bitmaps size: 0
68
69converted image file size in bytes: 458752
70
71== qcow2 input image and a backing file (human) ==
72
73required size: 1074135040
74fully allocated size: 1074135040
75bitmaps size: 0
76
77== qcow2 input image and LUKS encryption ==
78
79required size: 2686976
80fully allocated size: 1076232192
81bitmaps size: 0
82
83== qcow2 input image and preallocation (human) ==
84
85required size: 1074135040
86fully allocated size: 1074135040
87bitmaps size: 0
88
89converted image file size in bytes: 1074135040
90
91== Fully-allocated qcow2 input image (human) ==
92
93Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=8388608
94wrote 8388608/8388608 bytes at offset 0
958 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
96required size: 8716288
97fully allocated size: 8716288
98bitmaps size: 0
99
100converted image file size in bytes: 8716288
101
102== Empty raw input image (human) ==
103
104Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=0
105required size: 196608
106fully allocated size: 196608
107
108converted image file size in bytes: 196608
109
110== raw input image with data (human) ==
111
112Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=1073741824
113required size: 458752
114fully allocated size: 1074135040
115wrote 512/512 bytes at offset 512
116512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
117wrote 65536/65536 bytes at offset 65536
11864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
119wrote 64512/64512 bytes at offset 134217728
12063 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
121required size: 589824
122fully allocated size: 1074135040
123
124converted image file size in bytes: 524288
125
126== raw input image and a backing file (human) ==
127
128required size: 1074135040
129fully allocated size: 1074135040
130
131== raw input image and LUKS encryption ==
132
133required size: 2686976
134fully allocated size: 1076232192
135
136== raw input image and preallocation (human) ==
137
138required size: 1074135040
139fully allocated size: 1074135040
140
141converted image file size in bytes: 1074135040
142
143== Fully-allocated raw input image (human) ==
144
145Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=8388608
146wrote 8388608/8388608 bytes at offset 0
1478 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
148required size: 8716288
149fully allocated size: 8716288
150
151converted image file size in bytes: 8716288
152
153== Size calculation for a new file (json) ==
154
155{
156    "required": 196608,
157    "fully-allocated": 196608
158}
159{
160    "required": 589824,
161    "fully-allocated": 2148073472
162}
163{
164    "required": 10747904,
165    "fully-allocated": 68730224640
166}
167{
168    "required": 42205184,
169    "fully-allocated": 274920112128
170}
171{
172    "required": 168034304,
173    "fully-allocated": 1099679662080
174}
175{
176    "required": 343650009088,
177    "fully-allocated": 2252143463694336
178}
179qemu-img: The image size is too large (try using a larger cluster size)
180
181== Empty qcow2 input image (json) ==
182
183Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=0
184{
185    "bitmaps": 0,
186    "required": 196608,
187    "fully-allocated": 196608
188}
189
190converted image file size in bytes: 196608
191
192== qcow2 input image with data (json) ==
193
194Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
195{
196    "bitmaps": 0,
197    "required": 393216,
198    "fully-allocated": 1074135040
199}
200wrote 512/512 bytes at offset 512
201512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
202wrote 65536/65536 bytes at offset 65536
20364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
204wrote 64512/64512 bytes at offset 134217728
20563 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
206{
207    "bitmaps": 0,
208    "required": 589824,
209    "fully-allocated": 1074135040
210}
211
212converted image file size in bytes: 524288
213
214== qcow2 input image with internal snapshot (json) ==
215
216{
217    "bitmaps": 0,
218    "required": 524288,
219    "fully-allocated": 1074135040
220}
221
222converted image file size in bytes: 458752
223
224== qcow2 input image and a backing file (json) ==
225
226{
227    "bitmaps": 0,
228    "required": 1074135040,
229    "fully-allocated": 1074135040
230}
231
232== qcow2 input image and LUKS encryption ==
233
234{
235    "bitmaps": 0,
236    "required": 2686976,
237    "fully-allocated": 1076232192
238}
239
240== qcow2 input image and preallocation (json) ==
241
242{
243    "bitmaps": 0,
244    "required": 1074135040,
245    "fully-allocated": 1074135040
246}
247
248converted image file size in bytes: 1074135040
249
250== Fully-allocated qcow2 input image (json) ==
251
252Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=8388608
253wrote 8388608/8388608 bytes at offset 0
2548 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
255{
256    "bitmaps": 0,
257    "required": 8716288,
258    "fully-allocated": 8716288
259}
260
261converted image file size in bytes: 8716288
262
263== Empty raw input image (json) ==
264
265Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=0
266{
267    "required": 196608,
268    "fully-allocated": 196608
269}
270
271converted image file size in bytes: 196608
272
273== raw input image with data (json) ==
274
275Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=1073741824
276{
277    "required": 458752,
278    "fully-allocated": 1074135040
279}
280wrote 512/512 bytes at offset 512
281512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
282wrote 65536/65536 bytes at offset 65536
28364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
284wrote 64512/64512 bytes at offset 134217728
28563 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
286{
287    "required": 589824,
288    "fully-allocated": 1074135040
289}
290
291converted image file size in bytes: 524288
292
293== raw input image and a backing file (json) ==
294
295{
296    "required": 1074135040,
297    "fully-allocated": 1074135040
298}
299
300== raw input image and LUKS encryption ==
301
302{
303    "required": 2686976,
304    "fully-allocated": 1076232192
305}
306
307== raw input image and preallocation (json) ==
308
309{
310    "required": 1074135040,
311    "fully-allocated": 1074135040
312}
313
314converted image file size in bytes: 1074135040
315
316== Fully-allocated raw input image (json) ==
317
318Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=8388608
319wrote 8388608/8388608 bytes at offset 0
3208 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
321{
322    "required": 8716288,
323    "fully-allocated": 8716288
324}
325
326converted image file size in bytes: 8716288
327*** done
328