1QA output created by 122 2Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 3wrote 67108864/67108864 bytes at offset 0 464 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 5 6=== Check allocation status regression with -B === 7 8Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base 9wrote 3145728/3145728 bytes at offset 0 103 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 11Offset Length File 120 0x300000 TEST_DIR/t.IMGFMT.orig 130x300000 0x3d00000 TEST_DIR/t.IMGFMT.base 14 15=== Check that zero clusters are kept in overlay === 16 17Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base 18wrote 3145728/3145728 bytes at offset 0 193 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 20read 3145728/3145728 bytes at offset 0 213 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 22read 3145728/3145728 bytes at offset 0 233 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 24wrote 3145728/3145728 bytes at offset 0 253 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 26read 3145728/3145728 bytes at offset 0 273 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 28read 3145728/3145728 bytes at offset 0 293 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 30 31=== Concatenate multiple source images === 32 33Formatting 'TEST_DIR/t.IMGFMT.1', fmt=IMGFMT size=4194304 34Formatting 'TEST_DIR/t.IMGFMT.2', fmt=IMGFMT size=4194304 35Formatting 'TEST_DIR/t.IMGFMT.3', fmt=IMGFMT size=4194304 36wrote 65536/65536 bytes at offset 0 3764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 38wrote 65536/65536 bytes at offset 0 3964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 40wrote 65536/65536 bytes at offset 0 4164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 42Offset Length File 430 0x10000 TEST_DIR/t.IMGFMT 440x400000 0x10000 TEST_DIR/t.IMGFMT 450x800000 0x10000 TEST_DIR/t.IMGFMT 46read 65536/65536 bytes at offset 0 4764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 48read 65536/65536 bytes at offset 4194304 4964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 50read 65536/65536 bytes at offset 8388608 5164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 52[{ "start": 0, "length": 65536, "depth": 0, "zero": false, "data": true}, 53{ "start": 65536, "length": 4128768, "depth": 0, "zero": true, "data": false}, 54{ "start": 4194304, "length": 65536, "depth": 0, "zero": false, "data": true}, 55{ "start": 4259840, "length": 4128768, "depth": 0, "zero": true, "data": false}, 56{ "start": 8388608, "length": 65536, "depth": 0, "zero": false, "data": true}, 57{ "start": 8454144, "length": 4128768, "depth": 0, "zero": true, "data": false}] 58read 65536/65536 bytes at offset 0 5964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 60read 65536/65536 bytes at offset 4194304 6164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 62read 65536/65536 bytes at offset 8388608 6364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 64qemu-img: Having a backing file for the target makes no sense when concatenating multiple input images 65qemu-img: Having a backing file for the target makes no sense when concatenating multiple input images 66 67=== Compression with misaligned allocations and image sizes === 68 69Formatting 'TEST_DIR/t.IMGFMT.1', fmt=IMGFMT size=1047552 70Formatting 'TEST_DIR/t.IMGFMT.2', fmt=IMGFMT size=1047552 71wrote 16384/16384 bytes at offset 16384 7216 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 73wrote 133120/133120 bytes at offset 133120 74130 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 75wrote 1024/1024 bytes at offset 1046528 761 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 77wrote 1024/1024 bytes at offset 0 781 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 79[{ "start": 0, "length": 65536, "depth": 0, "zero": false, "data": true}, 80{ "start": 65536, "length": 65536, "depth": 0, "zero": true, "data": false}, 81{ "start": 131072, "length": 196608, "depth": 0, "zero": false, "data": true}, 82{ "start": 327680, "length": 655360, "depth": 0, "zero": true, "data": false}, 83{ "start": 983040, "length": 65536, "depth": 0, "zero": false, "data": true}, 84{ "start": 1048576, "length": 1046528, "depth": 0, "zero": true, "data": false}] 85read 16384/16384 bytes at offset 0 8616 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 87read 16384/16384 bytes at offset 16384 8816 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 89read 100352/100352 bytes at offset 32768 9098 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 91read 133120/133120 bytes at offset 133120 92130 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 93read 780288/780288 bytes at offset 266240 94762 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 95read 1024/1024 bytes at offset 1046528 961 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 97read 1024/1024 bytes at offset 1047552 981 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 99read 1046528/1046528 bytes at offset 1048576 1001022 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 101 102=== Full allocation with -S 0 === 103 104Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 105wrote 3145728/3145728 bytes at offset 0 1063 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 107wrote 3145728/3145728 bytes at offset 3145728 1083 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 109 110convert -S 0: 111read 3145728/3145728 bytes at offset 0 1123 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 113read 63963136/63963136 bytes at offset 3145728 11461 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 115[{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true, "offset": OFFSET}] 116 117convert -c -S 0: 118read 3145728/3145728 bytes at offset 0 1193 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 120read 63963136/63963136 bytes at offset 3145728 12161 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 122[{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true}] 123Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 124wrote 33554432/33554432 bytes at offset 0 12532 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 126Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base 127wrote 3145728/3145728 bytes at offset 0 1283 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 129 130convert -S 0 with source backing file: 131read 3145728/3145728 bytes at offset 0 1323 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 133read 30408704/30408704 bytes at offset 3145728 13429 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 135read 33554432/33554432 bytes at offset 33554432 13632 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 137[{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true, "offset": OFFSET}] 138 139convert -c -S 0 with source backing file: 140read 3145728/3145728 bytes at offset 0 1413 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 142read 30408704/30408704 bytes at offset 3145728 14329 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 144read 33554432/33554432 bytes at offset 33554432 14532 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 146[{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true}] 147 148convert -S 0 -B ... 149read 3145728/3145728 bytes at offset 0 1503 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 151read 30408704/30408704 bytes at offset 3145728 15229 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 153read 33554432/33554432 bytes at offset 33554432 15432 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}] 156 157convert -c -S 0 -B ... 158read 3145728/3145728 bytes at offset 0 1593 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 160read 30408704/30408704 bytes at offset 3145728 16129 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 162read 33554432/33554432 bytes at offset 33554432 16332 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}] 165 166=== Non-zero -S === 167 168Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 169wrote 65536/65536 bytes at offset 0 17064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 171wrote 1024/1024 bytes at offset 0 1721 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 173wrote 1024/1024 bytes at offset 8192 1741 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 175wrote 1024/1024 bytes at offset 17408 1761 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 177 178convert -S 4k 179[{ "start": 0, "length": 1024, "depth": 0, "zero": false, "data": true, "offset": OFFSET}, 180{ "start": 1024, "length": 7168, "depth": 0, "zero": true, "data": false}, 181{ "start": 8192, "length": 1024, "depth": 0, "zero": false, "data": true, "offset": OFFSET}, 182{ "start": 9216, "length": 8192, "depth": 0, "zero": true, "data": false}, 183{ "start": 17408, "length": 1024, "depth": 0, "zero": false, "data": true, "offset": OFFSET}, 184{ "start": 18432, "length": 67090432, "depth": 0, "zero": true, "data": false}] 185 186convert -c -S 4k 187[{ "start": 0, "length": 1024, "depth": 0, "zero": false, "data": true}, 188{ "start": 1024, "length": 7168, "depth": 0, "zero": true, "data": false}, 189{ "start": 8192, "length": 1024, "depth": 0, "zero": false, "data": true}, 190{ "start": 9216, "length": 8192, "depth": 0, "zero": true, "data": false}, 191{ "start": 17408, "length": 1024, "depth": 0, "zero": false, "data": true}, 192{ "start": 18432, "length": 67090432, "depth": 0, "zero": true, "data": false}] 193 194convert -S 8k 195[{ "start": 0, "length": 9216, "depth": 0, "zero": false, "data": true, "offset": OFFSET}, 196{ "start": 9216, "length": 8192, "depth": 0, "zero": true, "data": false}, 197{ "start": 17408, "length": 1024, "depth": 0, "zero": false, "data": true, "offset": OFFSET}, 198{ "start": 18432, "length": 67090432, "depth": 0, "zero": true, "data": false}] 199 200convert -c -S 8k 201[{ "start": 0, "length": 1024, "depth": 0, "zero": false, "data": true}, 202{ "start": 1024, "length": 7168, "depth": 0, "zero": true, "data": false}, 203{ "start": 8192, "length": 1024, "depth": 0, "zero": false, "data": true}, 204{ "start": 9216, "length": 8192, "depth": 0, "zero": true, "data": false}, 205{ "start": 17408, "length": 1024, "depth": 0, "zero": false, "data": true}, 206{ "start": 18432, "length": 67090432, "depth": 0, "zero": true, "data": false}] 207*** done 208