1 QA output created by 223
3 === Create partially sparse image, then add dirty bitmaps ===
5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4194304
6 wrote 2097152/2097152 bytes at offset 1048576
7 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
15 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
18 === Write part of the file under active bitmap ===
20 wrote 512/512 bytes at offset 512
21 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
22 wrote 2097152/2097152 bytes at offset 2097152
23 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
25 === End dirty bitmaps, and start serving image over NBD ===
30 {"error": {"class": "GenericError", "desc": "NBD server not running"}}
32 {"error": {"class": "GenericError", "desc": "NBD server already running"}}
35 {"error": {"class": "GenericError", "desc": "Cannot find device=nosuch nor node_name=nosuch"}}
36 {"error": {"class": "GenericError", "desc": "NBD server already has export named 'n'"}}
37 {"error": {"class": "GenericError", "desc": "Enabled bitmap 'b2' incompatible with readonly export"}}
38 {"error": {"class": "GenericError", "desc": "Bitmap 'b3' is not found"}}
43 flags: 0x4ef ( readonly flush fua trim zeroes df cache )
47 available meta contexts: 2
52 flags: 0x4ed ( flush fua trim zeroes df cache )
56 available meta contexts: 2
60 === Contrast normal status to large granularity dirty-bitmap ===
62 read 512/512 bytes at offset 512
63 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
64 read 524288/524288 bytes at offset 524288
65 512 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
66 read 1048576/1048576 bytes at offset 1048576
67 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
68 read 2097152/2097152 bytes at offset 2097152
69 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
70 [{ "start": 0, "length": 4096, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
71 { "start": 4096, "length": 1044480, "depth": 0, "zero": true, "data": false, "offset": OFFSET},
72 { "start": 1048576, "length": 3145728, "depth": 0, "zero": false, "data": true, "offset": OFFSET}]
73 [{ "start": 0, "length": 65536, "depth": 0, "zero": false, "data": false},
74 { "start": 65536, "length": 2031616, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
75 { "start": 2097152, "length": 2097152, "depth": 0, "zero": false, "data": false}]
77 === Contrast to small granularity dirty-bitmap ===
79 [{ "start": 0, "length": 512, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
80 { "start": 512, "length": 512, "depth": 0, "zero": false, "data": false},
81 { "start": 1024, "length": 2096128, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
82 { "start": 2097152, "length": 2097152, "depth": 0, "zero": false, "data": false}]
84 === End qemu NBD server ===
88 {"error": {"class": "GenericError", "desc": "Export 'n2' is not found"}}
90 {"error": {"class": "GenericError", "desc": "NBD server not running"}}
92 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
94 === Use qemu-nbd as server ===
96 [{ "start": 0, "length": 65536, "depth": 0, "zero": false, "data": false},
97 { "start": 65536, "length": 2031616, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
98 { "start": 2097152, "length": 2097152, "depth": 0, "zero": false, "data": false}]
99 [{ "start": 0, "length": 512, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
100 { "start": 512, "length": 512, "depth": 0, "zero": false, "data": false},
101 { "start": 1024, "length": 2096128, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
102 { "start": 2097152, "length": 2097152, "depth": 0, "zero": false, "data": false}]