]>
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. | |
8 | qemu-img: --object, --image-opts, -f, and -l require a filename argument. | |
9 | qemu-img: --object, --image-opts, -f, and -l require a filename argument. | |
10 | qemu-img: --object, --image-opts, -f, and -l require a filename argument. | |
11 | qemu-img: --object, --image-opts, -f, and -l require a filename argument. | |
12 | qemu-img: Invalid option list: , | |
13 | qemu-img: Invalid parameter 'snapshot.foo' | |
14 | qemu-img: Failed in parsing snapshot param 'snapshot.foo' | |
15 | qemu-img: --output must be used with human or json as argument. | |
16 | qemu-img: Image size must be less than 8 EiB! | |
17 | qemu-img: Unknown file format 'foo' | |
18 | ||
19 | == Size calculation for a new file (human) == | |
20 | ||
21 | required size: 196608 | |
22 | fully allocated size: 196608 | |
23 | required size: 589824 | |
24 | fully allocated size: 2148073472 | |
25 | required size: 10747904 | |
26 | fully allocated size: 68730224640 | |
27 | required size: 42205184 | |
28 | fully allocated size: 274920112128 | |
29 | required size: 168034304 | |
30 | fully allocated size: 1099679662080 | |
31 | required size: 343650009088 | |
32 | fully allocated size: 2252143463694336 | |
33 | qemu-img: The image size is too large (try using a larger cluster size) | |
34 | ||
35 | == Empty qcow2 input image (human) == | |
36 | ||
37 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=0 | |
38 | required size: 196608 | |
39 | fully allocated size: 196608 | |
40 | ||
41 | converted image file size in bytes: 196608 | |
42 | ||
43 | == qcow2 input image with data (human) == | |
44 | ||
45 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 | |
46 | required size: 393216 | |
47 | fully allocated size: 1074135040 | |
48 | wrote 512/512 bytes at offset 512 | |
49 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
50 | wrote 65536/65536 bytes at offset 65536 | |
51 | 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
52 | wrote 64512/64512 bytes at offset 134217728 | |
53 | 63 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
54 | required size: 589824 | |
55 | fully allocated size: 1074135040 | |
56 | ||
57 | converted image file size in bytes: 524288 | |
58 | ||
59 | == qcow2 input image with internal snapshot (human) == | |
60 | ||
61 | required size: 524288 | |
62 | fully allocated size: 1074135040 | |
63 | ||
64 | converted image file size in bytes: 458752 | |
65 | ||
66 | == qcow2 input image and a backing file (human) == | |
67 | ||
68 | required size: 1074135040 | |
69 | fully allocated size: 1074135040 | |
70 | ||
71 | == qcow2 input image and preallocation (human) == | |
72 | ||
73 | required size: 1074135040 | |
74 | fully allocated size: 1074135040 | |
75 | ||
76 | converted image file size in bytes: 1074135040 | |
77 | ||
78 | == Fully-allocated qcow2 input image (human) == | |
79 | ||
80 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=8388608 | |
81 | wrote 8388608/8388608 bytes at offset 0 | |
82 | 8 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
83 | required size: 8716288 | |
84 | fully allocated size: 8716288 | |
85 | ||
86 | converted image file size in bytes: 8716288 | |
87 | ||
88 | == Empty raw input image (human) == | |
89 | ||
90 | Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=0 | |
91 | required size: 196608 | |
92 | fully allocated size: 196608 | |
93 | ||
94 | converted image file size in bytes: 196608 | |
95 | ||
96 | == raw input image with data (human) == | |
97 | ||
98 | Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=1073741824 | |
99 | required size: 393216 | |
100 | fully allocated size: 1074135040 | |
101 | wrote 512/512 bytes at offset 512 | |
102 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
103 | wrote 65536/65536 bytes at offset 65536 | |
104 | 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
105 | wrote 64512/64512 bytes at offset 134217728 | |
106 | 63 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
107 | required size: 589824 | |
108 | fully allocated size: 1074135040 | |
109 | ||
110 | converted image file size in bytes: 524288 | |
111 | ||
112 | == raw input image and a backing file (human) == | |
113 | ||
114 | required size: 1074135040 | |
115 | fully allocated size: 1074135040 | |
116 | ||
117 | == raw input image and preallocation (human) == | |
118 | ||
119 | required size: 1074135040 | |
120 | fully allocated size: 1074135040 | |
121 | ||
122 | converted image file size in bytes: 1074135040 | |
123 | ||
124 | == Fully-allocated raw input image (human) == | |
125 | ||
126 | Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=8388608 | |
127 | wrote 8388608/8388608 bytes at offset 0 | |
128 | 8 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
129 | required size: 8716288 | |
130 | fully allocated size: 8716288 | |
131 | ||
132 | converted image file size in bytes: 8716288 | |
133 | ||
134 | == Size calculation for a new file (json) == | |
135 | ||
136 | { | |
137 | "required": 196608, | |
138 | "fully-allocated": 196608 | |
139 | } | |
140 | { | |
141 | "required": 589824, | |
142 | "fully-allocated": 2148073472 | |
143 | } | |
144 | { | |
145 | "required": 10747904, | |
146 | "fully-allocated": 68730224640 | |
147 | } | |
148 | { | |
149 | "required": 42205184, | |
150 | "fully-allocated": 274920112128 | |
151 | } | |
152 | { | |
153 | "required": 168034304, | |
154 | "fully-allocated": 1099679662080 | |
155 | } | |
156 | { | |
157 | "required": 343650009088, | |
158 | "fully-allocated": 2252143463694336 | |
159 | } | |
160 | qemu-img: The image size is too large (try using a larger cluster size) | |
161 | ||
162 | == Empty qcow2 input image (json) == | |
163 | ||
164 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=0 | |
165 | { | |
166 | "required": 196608, | |
167 | "fully-allocated": 196608 | |
168 | } | |
169 | ||
170 | converted image file size in bytes: 196608 | |
171 | ||
172 | == qcow2 input image with data (json) == | |
173 | ||
174 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 | |
175 | { | |
176 | "required": 393216, | |
177 | "fully-allocated": 1074135040 | |
178 | } | |
179 | wrote 512/512 bytes at offset 512 | |
180 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
181 | wrote 65536/65536 bytes at offset 65536 | |
182 | 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
183 | wrote 64512/64512 bytes at offset 134217728 | |
184 | 63 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
185 | { | |
186 | "required": 589824, | |
187 | "fully-allocated": 1074135040 | |
188 | } | |
189 | ||
190 | converted image file size in bytes: 524288 | |
191 | ||
192 | == qcow2 input image with internal snapshot (json) == | |
193 | ||
194 | { | |
195 | "required": 524288, | |
196 | "fully-allocated": 1074135040 | |
197 | } | |
198 | ||
199 | converted image file size in bytes: 458752 | |
200 | ||
201 | == qcow2 input image and a backing file (json) == | |
202 | ||
203 | { | |
204 | "required": 1074135040, | |
205 | "fully-allocated": 1074135040 | |
206 | } | |
207 | ||
208 | == qcow2 input image and preallocation (json) == | |
209 | ||
210 | { | |
211 | "required": 1074135040, | |
212 | "fully-allocated": 1074135040 | |
213 | } | |
214 | ||
215 | converted image file size in bytes: 1074135040 | |
216 | ||
217 | == Fully-allocated qcow2 input image (json) == | |
218 | ||
219 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=8388608 | |
220 | wrote 8388608/8388608 bytes at offset 0 | |
221 | 8 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
222 | { | |
223 | "required": 8716288, | |
224 | "fully-allocated": 8716288 | |
225 | } | |
226 | ||
227 | converted image file size in bytes: 8716288 | |
228 | ||
229 | == Empty raw input image (json) == | |
230 | ||
231 | Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=0 | |
232 | { | |
233 | "required": 196608, | |
234 | "fully-allocated": 196608 | |
235 | } | |
236 | ||
237 | converted image file size in bytes: 196608 | |
238 | ||
239 | == raw input image with data (json) == | |
240 | ||
241 | Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=1073741824 | |
242 | { | |
243 | "required": 393216, | |
244 | "fully-allocated": 1074135040 | |
245 | } | |
246 | wrote 512/512 bytes at offset 512 | |
247 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
248 | wrote 65536/65536 bytes at offset 65536 | |
249 | 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
250 | wrote 64512/64512 bytes at offset 134217728 | |
251 | 63 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
252 | { | |
253 | "required": 589824, | |
254 | "fully-allocated": 1074135040 | |
255 | } | |
256 | ||
257 | converted image file size in bytes: 524288 | |
258 | ||
259 | == raw input image and a backing file (json) == | |
260 | ||
261 | { | |
262 | "required": 1074135040, | |
263 | "fully-allocated": 1074135040 | |
264 | } | |
265 | ||
266 | == raw input image and preallocation (json) == | |
267 | ||
268 | { | |
269 | "required": 1074135040, | |
270 | "fully-allocated": 1074135040 | |
271 | } | |
272 | ||
273 | converted image file size in bytes: 1074135040 | |
274 | ||
275 | == Fully-allocated raw input image (json) == | |
276 | ||
277 | Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=8388608 | |
278 | wrote 8388608/8388608 bytes at offset 0 | |
279 | 8 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
280 | { | |
281 | "required": 8716288, | |
282 | "fully-allocated": 8716288 | |
283 | } | |
284 | ||
285 | converted image file size in bytes: 8716288 | |
286 | *** done |