1 QA output created by 122
2 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
3 wrote 67108864/67108864 bytes at offset 0
4 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
6 === Check allocation status regression with -B ===
8 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
9 wrote 3145728/3145728 bytes at offset 0
10 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
12 0 0x300000 TEST_DIR/t.IMGFMT.orig
13 0x300000 0x3d00000 TEST_DIR/t.IMGFMT.base
15 === Check that zero clusters are kept in overlay ===
17 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
18 wrote 3145728/3145728 bytes at offset 0
19 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
20 read 3145728/3145728 bytes at offset 0
21 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
22 read 3145728/3145728 bytes at offset 0
23 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
24 wrote 3145728/3145728 bytes at offset 0
25 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
26 read 3145728/3145728 bytes at offset 0
27 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
28 read 3145728/3145728 bytes at offset 0
29 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
31 === Converting to an overlay larger than its backing file ===
33 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=268435456
34 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=805306368 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
37 wrote 1048576/1048576 bytes at offset 267386880
38 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
39 wrote 1048576/1048576 bytes at offset 629145600
40 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
42 0xff00000 0x100000 TEST_DIR/t.IMGFMT.base
43 0x25800000 0x100000 TEST_DIR/t.IMGFMT.orig
44 read 1048576/1048576 bytes at offset 267386880
45 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
46 read 1048576/1048576 bytes at offset 629145600
47 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
49 === Concatenate multiple source images ===
51 Formatting 'TEST_DIR/t.IMGFMT.1', fmt=IMGFMT size=4194304
52 Formatting 'TEST_DIR/t.IMGFMT.2', fmt=IMGFMT size=4194304
53 Formatting 'TEST_DIR/t.IMGFMT.3', fmt=IMGFMT size=4194304
54 wrote 65536/65536 bytes at offset 0
55 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
56 wrote 65536/65536 bytes at offset 0
57 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
58 wrote 65536/65536 bytes at offset 0
59 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
61 0 0x10000 TEST_DIR/t.IMGFMT
62 0x400000 0x10000 TEST_DIR/t.IMGFMT
63 0x800000 0x10000 TEST_DIR/t.IMGFMT
64 read 65536/65536 bytes at offset 0
65 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
66 read 65536/65536 bytes at offset 4194304
67 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
68 read 65536/65536 bytes at offset 8388608
69 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
70 [{ "start": 0, "length": 65536, "depth": 0, "zero": false, "data": true},
71 { "start": 65536, "length": 4128768, "depth": 0, "zero": true, "data": false},
72 { "start": 4194304, "length": 65536, "depth": 0, "zero": false, "data": true},
73 { "start": 4259840, "length": 4128768, "depth": 0, "zero": true, "data": false},
74 { "start": 8388608, "length": 65536, "depth": 0, "zero": false, "data": true},
75 { "start": 8454144, "length": 4128768, "depth": 0, "zero": true, "data": false}]
76 read 65536/65536 bytes at offset 0
77 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
78 read 65536/65536 bytes at offset 4194304
79 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
80 read 65536/65536 bytes at offset 8388608
81 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
82 qemu-img: Having a backing file for the target makes no sense when concatenating multiple input images
83 qemu-img: Having a backing file for the target makes no sense when concatenating multiple input images
85 === Compression with misaligned allocations and image sizes ===
87 Formatting 'TEST_DIR/t.IMGFMT.1', fmt=IMGFMT size=1047552
88 Formatting 'TEST_DIR/t.IMGFMT.2', fmt=IMGFMT size=1047552
89 wrote 16384/16384 bytes at offset 16384
90 16 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
91 wrote 133120/133120 bytes at offset 133120
92 130 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
93 wrote 1024/1024 bytes at offset 1046528
94 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
95 wrote 1024/1024 bytes at offset 0
96 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
97 [{ "start": 0, "length": 65536, "depth": 0, "zero": false, "data": true},
98 { "start": 65536, "length": 65536, "depth": 0, "zero": true, "data": false},
99 { "start": 131072, "length": 196608, "depth": 0, "zero": false, "data": true},
100 { "start": 327680, "length": 655360, "depth": 0, "zero": true, "data": false},
101 { "start": 983040, "length": 65536, "depth": 0, "zero": false, "data": true},
102 { "start": 1048576, "length": 1046528, "depth": 0, "zero": true, "data": false}]
103 read 16384/16384 bytes at offset 0
104 16 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
105 read 16384/16384 bytes at offset 16384
106 16 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
107 read 100352/100352 bytes at offset 32768
108 98 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
109 read 133120/133120 bytes at offset 133120
110 130 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
111 read 780288/780288 bytes at offset 266240
112 762 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
113 read 1024/1024 bytes at offset 1046528
114 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
115 read 1024/1024 bytes at offset 1047552
116 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
117 read 1046528/1046528 bytes at offset 1048576
118 1022 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
120 === Full allocation with -S 0 ===
122 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
123 wrote 3145728/3145728 bytes at offset 0
124 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
125 wrote 3145728/3145728 bytes at offset 3145728
126 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
129 read 3145728/3145728 bytes at offset 0
130 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
131 read 63963136/63963136 bytes at offset 3145728
132 61 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
133 [{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true, "offset": OFFSET}]
136 read 3145728/3145728 bytes at offset 0
137 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
138 read 63963136/63963136 bytes at offset 3145728
139 61 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
140 [{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true}]
141 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
142 wrote 33554432/33554432 bytes at offset 0
143 32 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
144 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
145 wrote 3145728/3145728 bytes at offset 0
146 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
148 convert -S 0 with source backing file:
149 read 3145728/3145728 bytes at offset 0
150 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
151 read 30408704/30408704 bytes at offset 3145728
152 29 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
153 read 33554432/33554432 bytes at offset 33554432
154 32 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
155 [{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true, "offset": OFFSET}]
157 convert -c -S 0 with source backing file:
158 read 3145728/3145728 bytes at offset 0
159 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
160 read 30408704/30408704 bytes at offset 3145728
161 29 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
162 read 33554432/33554432 bytes at offset 33554432
163 32 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
164 [{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true}]
167 read 3145728/3145728 bytes at offset 0
168 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
169 read 30408704/30408704 bytes at offset 3145728
170 29 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
171 read 33554432/33554432 bytes at offset 33554432
172 32 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
173 [{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true, "offset": OFFSET}]
175 convert -c -S 0 -B ...
176 read 3145728/3145728 bytes at offset 0
177 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
178 read 30408704/30408704 bytes at offset 3145728
179 29 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
180 read 33554432/33554432 bytes at offset 33554432
181 32 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
182 [{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true}]
186 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
187 wrote 65536/65536 bytes at offset 0
188 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
189 wrote 1024/1024 bytes at offset 0
190 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
191 wrote 1024/1024 bytes at offset 8192
192 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
193 wrote 1024/1024 bytes at offset 17408
194 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
197 [{ "start": 0, "length": 4096, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
198 { "start": 4096, "length": 4096, "depth": 0, "zero": true, "data": false},
199 { "start": 8192, "length": 4096, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
200 { "start": 12288, "length": 4096, "depth": 0, "zero": true, "data": false},
201 { "start": 16384, "length": 4096, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
202 { "start": 20480, "length": 67088384, "depth": 0, "zero": true, "data": false}]
205 [{ "start": 0, "length": 1024, "depth": 0, "zero": false, "data": true},
206 { "start": 1024, "length": 7168, "depth": 0, "zero": true, "data": false},
207 { "start": 8192, "length": 1024, "depth": 0, "zero": false, "data": true},
208 { "start": 9216, "length": 8192, "depth": 0, "zero": true, "data": false},
209 { "start": 17408, "length": 1024, "depth": 0, "zero": false, "data": true},
210 { "start": 18432, "length": 67090432, "depth": 0, "zero": true, "data": false}]
213 [{ "start": 0, "length": 24576, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
214 { "start": 24576, "length": 67084288, "depth": 0, "zero": true, "data": false}]
217 [{ "start": 0, "length": 1024, "depth": 0, "zero": false, "data": true},
218 { "start": 1024, "length": 7168, "depth": 0, "zero": true, "data": false},
219 { "start": 8192, "length": 1024, "depth": 0, "zero": false, "data": true},
220 { "start": 9216, "length": 8192, "depth": 0, "zero": true, "data": false},
221 { "start": 17408, "length": 1024, "depth": 0, "zero": false, "data": true},
222 { "start": 18432, "length": 67090432, "depth": 0, "zero": true, "data": false}]
224 === -n to a non-zero image ===
226 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
227 Formatting 'TEST_DIR/t.IMGFMT.orig', fmt=IMGFMT size=67108864
228 wrote 65536/65536 bytes at offset 0
229 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
230 Images are identical.
232 === -n to an empty image ===
234 Formatting 'TEST_DIR/t.IMGFMT.orig', fmt=IMGFMT size=67108864
235 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
236 [{ "start": 0, "length": 67108864, "depth": 0, "zero": true, "data": false}]
237 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
238 [{ "start": 0, "length": 67108864, "depth": 0, "zero": true, "data": false}]
240 === -n to an empty image with a backing file ===
242 Formatting 'TEST_DIR/t.IMGFMT.orig', fmt=IMGFMT size=67108864
243 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
244 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
245 [{ "start": 0, "length": 67108864, "depth": 0, "zero": true, "data": false}]
246 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
247 [{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true, "offset": 327680}]
249 === -n -B to an image without a backing file ===
251 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
252 Formatting 'TEST_DIR/t.IMGFMT.orig', fmt=IMGFMT size=67108864
254 === -n incompatible with -o ===
256 qemu-img: -o has no effect when skipping image creation