xref: /openbmc/qemu/tests/qemu-iotests/254.out (revision 74433bf0)
1{"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap0", "node": "drive0"}}
2{"return": {}}
3{
4  "execute": "transaction",
5  "arguments": {
6    "actions": [
7      {
8        "data": {
9          "device": "drive0",
10          "snapshot-file": "TEST_DIR/PID-top",
11          "snapshot-node-name": "snap"
12        },
13        "type": "blockdev-snapshot-sync"
14      },
15      {
16        "data": {
17          "name": "bitmap0",
18          "node": "snap"
19        },
20        "type": "block-dirty-bitmap-add"
21      },
22      {
23        "data": {
24          "bitmaps": [
25            {
26              "name": "bitmap0",
27              "node": "base"
28            }
29          ],
30          "node": "snap",
31          "target": "bitmap0"
32        },
33        "type": "block-dirty-bitmap-merge"
34      }
35    ]
36  }
37}
38{
39  "return": {}
40}
41query-block: device = drive0, node-name = snap, dirty-bitmaps:
42[
43  {
44    "busy": false,
45    "count": 524288,
46    "granularity": 65536,
47    "name": "bitmap0",
48    "persistent": false,
49    "recording": true,
50    "status": "active"
51  }
52]
53