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' 15qemu-img: --output must be used with human or json as argument. 16qemu-img: Invalid image size specified. Must be between 0 and 9223372036854775807. 17qemu-img: Unknown file format 'foo' 18 19== Size calculation for a new file (human) == 20 21required size: 196608 22fully allocated size: 196608 23required size: 589824 24fully allocated size: 2148073472 25required size: 10747904 26fully allocated size: 68730224640 27required size: 42205184 28fully allocated size: 274920112128 29required size: 168034304 30fully allocated size: 1099679662080 31required size: 343650009088 32fully allocated size: 2252143463694336 33qemu-img: The image size is too large (try using a larger cluster size) 34 35== Empty qcow2 input image (human) == 36 37Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=0 38required size: 196608 39fully allocated size: 196608 40bitmaps size: 0 41 42converted image file size in bytes: 196608 43 44== qcow2 input image with data (human) == 45 46Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 47required size: 393216 48fully allocated size: 1074135040 49bitmaps size: 0 50wrote 512/512 bytes at offset 512 51512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 52wrote 65536/65536 bytes at offset 65536 5364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 54wrote 64512/64512 bytes at offset 134217728 5563 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 56required size: 589824 57fully allocated size: 1074135040 58bitmaps size: 0 59 60converted image file size in bytes: 524288 61 62== qcow2 input image with internal snapshot (human) == 63 64required size: 524288 65fully allocated size: 1074135040 66bitmaps size: 0 67 68converted image file size in bytes: 458752 69 70== qcow2 input image and a backing file (human) == 71 72required size: 1074135040 73fully allocated size: 1074135040 74bitmaps size: 0 75 76== qcow2 input image and LUKS encryption == 77 78required size: 2686976 79fully allocated size: 1076232192 80bitmaps size: 0 81 82== qcow2 input image and preallocation (human) == 83 84required size: 1074135040 85fully allocated size: 1074135040 86bitmaps size: 0 87 88converted image file size in bytes: 1074135040 89 90== Fully-allocated qcow2 input image (human) == 91 92Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=8388608 93wrote 8388608/8388608 bytes at offset 0 948 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 95required size: 8716288 96fully allocated size: 8716288 97bitmaps size: 0 98 99converted image file size in bytes: 8716288 100 101== Empty raw input image (human) == 102 103Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=0 104required size: 196608 105fully allocated size: 196608 106 107converted image file size in bytes: 196608 108 109== raw input image with data (human) == 110 111Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=1073741824 112required size: 458752 113fully allocated size: 1074135040 114wrote 512/512 bytes at offset 512 115512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 116wrote 65536/65536 bytes at offset 65536 11764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 118wrote 64512/64512 bytes at offset 134217728 11963 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 120required size: 589824 121fully allocated size: 1074135040 122 123converted image file size in bytes: 524288 124 125== raw input image and a backing file (human) == 126 127required size: 1074135040 128fully allocated size: 1074135040 129 130== raw input image and LUKS encryption == 131 132required size: 2686976 133fully allocated size: 1076232192 134 135== raw input image and preallocation (human) == 136 137required size: 1074135040 138fully allocated size: 1074135040 139 140converted image file size in bytes: 1074135040 141 142== Fully-allocated raw input image (human) == 143 144Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=8388608 145wrote 8388608/8388608 bytes at offset 0 1468 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 147required size: 8716288 148fully allocated size: 8716288 149 150converted image file size in bytes: 8716288 151 152== Size calculation for a new file (json) == 153 154{ 155 "required": 196608, 156 "fully-allocated": 196608 157} 158{ 159 "required": 589824, 160 "fully-allocated": 2148073472 161} 162{ 163 "required": 10747904, 164 "fully-allocated": 68730224640 165} 166{ 167 "required": 42205184, 168 "fully-allocated": 274920112128 169} 170{ 171 "required": 168034304, 172 "fully-allocated": 1099679662080 173} 174{ 175 "required": 343650009088, 176 "fully-allocated": 2252143463694336 177} 178qemu-img: The image size is too large (try using a larger cluster size) 179 180== Empty qcow2 input image (json) == 181 182Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=0 183{ 184 "bitmaps": 0, 185 "required": 196608, 186 "fully-allocated": 196608 187} 188 189converted image file size in bytes: 196608 190 191== qcow2 input image with data (json) == 192 193Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 194{ 195 "bitmaps": 0, 196 "required": 393216, 197 "fully-allocated": 1074135040 198} 199wrote 512/512 bytes at offset 512 200512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 201wrote 65536/65536 bytes at offset 65536 20264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 203wrote 64512/64512 bytes at offset 134217728 20463 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 205{ 206 "bitmaps": 0, 207 "required": 589824, 208 "fully-allocated": 1074135040 209} 210 211converted image file size in bytes: 524288 212 213== qcow2 input image with internal snapshot (json) == 214 215{ 216 "bitmaps": 0, 217 "required": 524288, 218 "fully-allocated": 1074135040 219} 220 221converted image file size in bytes: 458752 222 223== qcow2 input image and a backing file (json) == 224 225{ 226 "bitmaps": 0, 227 "required": 1074135040, 228 "fully-allocated": 1074135040 229} 230 231== qcow2 input image and LUKS encryption == 232 233{ 234 "bitmaps": 0, 235 "required": 2686976, 236 "fully-allocated": 1076232192 237} 238 239== qcow2 input image and preallocation (json) == 240 241{ 242 "bitmaps": 0, 243 "required": 1074135040, 244 "fully-allocated": 1074135040 245} 246 247converted image file size in bytes: 1074135040 248 249== Fully-allocated qcow2 input image (json) == 250 251Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=8388608 252wrote 8388608/8388608 bytes at offset 0 2538 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 254{ 255 "bitmaps": 0, 256 "required": 8716288, 257 "fully-allocated": 8716288 258} 259 260converted image file size in bytes: 8716288 261 262== Empty raw input image (json) == 263 264Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=0 265{ 266 "required": 196608, 267 "fully-allocated": 196608 268} 269 270converted image file size in bytes: 196608 271 272== raw input image with data (json) == 273 274Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=1073741824 275{ 276 "required": 458752, 277 "fully-allocated": 1074135040 278} 279wrote 512/512 bytes at offset 512 280512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 281wrote 65536/65536 bytes at offset 65536 28264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 283wrote 64512/64512 bytes at offset 134217728 28463 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 285{ 286 "required": 589824, 287 "fully-allocated": 1074135040 288} 289 290converted image file size in bytes: 524288 291 292== raw input image and a backing file (json) == 293 294{ 295 "required": 1074135040, 296 "fully-allocated": 1074135040 297} 298 299== raw input image and LUKS encryption == 300 301{ 302 "required": 2686976, 303 "fully-allocated": 1076232192 304} 305 306== raw input image and preallocation (json) == 307 308{ 309 "required": 1074135040, 310 "fully-allocated": 1074135040 311} 312 313converted image file size in bytes: 1074135040 314 315== Fully-allocated raw input image (json) == 316 317Formatting 'TEST_DIR/t.qcow2', fmt=IMGFMT size=8388608 318wrote 8388608/8388608 bytes at offset 0 3198 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 320{ 321 "required": 8716288, 322 "fully-allocated": 8716288 323} 324 325converted image file size in bytes: 8716288 326*** done 327