2018-07-02 22:14:58 +03:00
|
|
|
QA output created by 223
|
|
|
|
|
2018-11-19 20:29:24 +03:00
|
|
|
=== Create partially sparse image, then add dirty bitmaps ===
|
2018-07-02 22:14:58 +03:00
|
|
|
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4194304
|
|
|
|
wrote 2097152/2097152 bytes at offset 1048576
|
|
|
|
2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
Testing:
|
|
|
|
QMP_VERSION
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
2018-11-19 20:29:24 +03:00
|
|
|
{"return": {}}
|
2018-12-05 14:01:31 +03:00
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
|
2018-07-02 22:14:58 +03:00
|
|
|
|
|
|
|
|
|
|
|
=== Write part of the file under active bitmap ===
|
|
|
|
|
2018-11-19 20:29:24 +03:00
|
|
|
wrote 512/512 bytes at offset 512
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2018-07-02 22:14:58 +03:00
|
|
|
wrote 2097152/2097152 bytes at offset 2097152
|
|
|
|
2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
|
2018-11-19 20:29:24 +03:00
|
|
|
=== End dirty bitmaps, and start serving image over NBD ===
|
2018-07-02 22:14:58 +03:00
|
|
|
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
2018-11-19 20:29:24 +03:00
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
2018-07-02 22:14:58 +03:00
|
|
|
|
2018-11-19 20:29:24 +03:00
|
|
|
=== Contrast normal status to large granularity dirty-bitmap ===
|
2018-07-02 22:14:58 +03:00
|
|
|
|
2018-11-19 20:29:24 +03:00
|
|
|
read 512/512 bytes at offset 512
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
read 524288/524288 bytes at offset 524288
|
|
|
|
512 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2018-07-02 22:14:58 +03:00
|
|
|
read 1048576/1048576 bytes at offset 1048576
|
|
|
|
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
read 2097152/2097152 bytes at offset 2097152
|
|
|
|
2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2018-11-19 20:29:24 +03:00
|
|
|
[{ "start": 0, "length": 4096, "depth": 0, "zero": false, "data": true},
|
|
|
|
{ "start": 4096, "length": 1044480, "depth": 0, "zero": true, "data": false},
|
2018-07-02 22:14:58 +03:00
|
|
|
{ "start": 1048576, "length": 3145728, "depth": 0, "zero": false, "data": true}]
|
2018-11-19 20:29:24 +03:00
|
|
|
[{ "start": 0, "length": 65536, "depth": 0, "zero": false, "data": false},
|
|
|
|
{ "start": 65536, "length": 2031616, "depth": 0, "zero": false, "data": true},
|
|
|
|
{ "start": 2097152, "length": 2097152, "depth": 0, "zero": false, "data": false}]
|
|
|
|
|
|
|
|
=== Contrast to small granularity dirty-bitmap ===
|
|
|
|
|
|
|
|
[{ "start": 0, "length": 512, "depth": 0, "zero": false, "data": true},
|
|
|
|
{ "start": 512, "length": 512, "depth": 0, "zero": false, "data": false},
|
|
|
|
{ "start": 1024, "length": 2096128, "depth": 0, "zero": false, "data": true},
|
2018-07-02 22:14:58 +03:00
|
|
|
{ "start": 2097152, "length": 2097152, "depth": 0, "zero": false, "data": false}]
|
|
|
|
|
|
|
|
=== End NBD server ===
|
|
|
|
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
2018-11-19 20:29:24 +03:00
|
|
|
{"return": {}}
|
2018-07-02 22:14:58 +03:00
|
|
|
*** done
|