nbd/server: Add FLAG_PAYLOAD support to CMD_BLOCK_STATUS
[qemu/ericb.git] / tests / qemu-iotests / tests / nbd-qemu-allocation.out
blob794d1bfce62b7d3684005a38a15ccba28d228b38
1 QA output created by nbd-qemu-allocation
3 === Initial image setup ===
5 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4194304
6 wrote 2097152/2097152 bytes at offset 0
7 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
8 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4194304 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
9 wrote 2097152/2097152 bytes at offset 1048576
10 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
12 === Check allocation over NBD ===
14 [{ "start": 0, "length": 1048576, "depth": 1, "present": true, "zero": false, "data": true, "offset": 327680},
15 { "start": 1048576, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "offset": 327680},
16 { "start": 3145728, "length": 1048576, "depth": 1, "present": false, "zero": true, "data": false}]
17 exports available: 1
18  export: ''
19   size:  4194304
20   flags: 0x148f ( readonly flush fua df cache block-status-payload )
21   min block: 1
22   opt block: 4096
23   max block: 33554432
24   transaction size: 64-bit
25   available meta contexts: 2
26    base:allocation
27    qemu:allocation-depth
28 [{ "start": 0, "length": 3145728, "depth": 0, "present": true, "zero": false, "data": true, "offset": OFFSET},
29 { "start": 3145728, "length": 1048576, "depth": 0, "present": true, "zero": true, "data": false, "offset": OFFSET}]
30 [{ "start": 0, "length": 1048576, "depth": 0, "present": true, "zero": true, "data": true, "offset": OFFSET},
31 { "start": 1048576, "length": 2097152, "depth": 0, "present": false, "zero": false, "data": false},
32 { "start": 3145728, "length": 1048576, "depth": 0, "present": true, "zero": false, "data": true, "offset": OFFSET}]
33 *** done