1QA output created by 223 2 3=== Create partially sparse image, then add dirty bitmaps === 4 5Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4194304 6wrote 2097152/2097152 bytes at offset 1048576 72 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 8Testing: 9QMP_VERSION 10{"return": {}} 11{"return": {}} 12{"return": {}} 13{"return": {}} 14{"return": {}} 15{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} 16 17 18=== Write part of the file under active bitmap === 19 20wrote 512/512 bytes at offset 512 21512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 22wrote 2097152/2097152 bytes at offset 2097152 232 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 24 25=== End dirty bitmaps, and start serving image over NBD === 26 27{"return": {}} 28{"return": {}} 29{"return": {}} 30{"return": {}} 31{"return": {}} 32{"return": {}} 33{"return": {}} 34{"return": {}} 35{"return": {}} 36 37=== Contrast normal status to large granularity dirty-bitmap === 38 39read 512/512 bytes at offset 512 40512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 41read 524288/524288 bytes at offset 524288 42512 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 43read 1048576/1048576 bytes at offset 1048576 441 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 45read 2097152/2097152 bytes at offset 2097152 462 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 47[{ "start": 0, "length": 4096, "depth": 0, "zero": false, "data": true}, 48{ "start": 4096, "length": 1044480, "depth": 0, "zero": true, "data": false}, 49{ "start": 1048576, "length": 3145728, "depth": 0, "zero": false, "data": true}] 50[{ "start": 0, "length": 65536, "depth": 0, "zero": false, "data": false}, 51{ "start": 65536, "length": 2031616, "depth": 0, "zero": false, "data": true}, 52{ "start": 2097152, "length": 2097152, "depth": 0, "zero": false, "data": false}] 53 54=== Contrast to small granularity dirty-bitmap === 55 56[{ "start": 0, "length": 512, "depth": 0, "zero": false, "data": true}, 57{ "start": 512, "length": 512, "depth": 0, "zero": false, "data": false}, 58{ "start": 1024, "length": 2096128, "depth": 0, "zero": false, "data": true}, 59{ "start": 2097152, "length": 2097152, "depth": 0, "zero": false, "data": false}] 60 61=== End NBD server === 62 63{"return": {}} 64{"return": {}} 65{"return": {}} 66{"return": {}} 67*** done 68