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