| 1 | QA output created by 305 |
| 2 | ### Create the image |
| 3 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 |
| 4 | ### Fill the first refcount block and one data cluster from the second |
| 5 | wrote 126976/126976 bytes at offset 0 |
| 6 | 124 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 7 | ### Discard two of the last data clusters, leave one in the middle |
| 8 | discard 1024/1024 bytes at offset 123904 |
| 9 | 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 10 | discard 1024/1024 bytes at offset 125952 |
| 11 | 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 12 | ### Corrupt the offset of the second refcount block |
| 13 | ### Try to allocate the discarded clusters again |
| 14 | qcow2: Marking image as corrupt: Refblock offset 0x20600 unaligned (reftable index: 0x1); further corruption events will be suppressed |
| 15 | qemu-io: write failed: Input/output error |
| 16 | *** done |