summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/254.out
blob: fe52da933846a109ad394b8775a5d74c30ec979d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap0", "node": "drive0"}}
{"return": {}}
{"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap1", "node": "drive0", "persistent": true}}
{"return": {}}
{"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap2", "node": "drive0", "persistent": true}}
{"return": {}}
{
  "execute": "transaction",
  "arguments": {
    "actions": [
      {
        "data": {
          "device": "drive0",
          "snapshot-file": "TEST_DIR/PID-top",
          "snapshot-node-name": "snap"
        },
        "type": "blockdev-snapshot-sync"
      },
      {
        "data": {
          "name": "bitmap0",
          "node": "snap"
        },
        "type": "block-dirty-bitmap-add"
      },
      {
        "data": {
          "bitmaps": [
            {
              "name": "bitmap0",
              "node": "base"
            }
          ],
          "node": "snap",
          "target": "bitmap0"
        },
        "type": "block-dirty-bitmap-merge"
      },
      {
        "data": {
          "name": "bitmap1",
          "node": "snap",
          "persistent": true
        },
        "type": "block-dirty-bitmap-add"
      },
      {
        "data": {
          "bitmaps": [
            {
              "name": "bitmap1",
              "node": "base"
            }
          ],
          "node": "snap",
          "target": "bitmap1"
        },
        "type": "block-dirty-bitmap-merge"
      },
      {
        "data": {
          "name": "bitmap2",
          "node": "snap",
          "persistent": true
        },
        "type": "block-dirty-bitmap-add"
      },
      {
        "data": {
          "bitmaps": [
            {
              "name": "bitmap2",
              "node": "base"
            }
          ],
          "node": "snap",
          "target": "bitmap2"
        },
        "type": "block-dirty-bitmap-merge"
      },
      {
        "data": {
          "name": "bitmap2",
          "node": "base"
        },
        "type": "block-dirty-bitmap-remove"
      }
    ]
  }
}
{
  "return": {}
}
query-block: device = drive0, node-name = snap, dirty-bitmaps:
[
  {
    "busy": false,
    "count": 524288,
    "granularity": 65536,
    "name": "bitmap2",
    "persistent": true,
    "recording": true
  },
  {
    "busy": false,
    "count": 524288,
    "granularity": 65536,
    "name": "bitmap1",
    "persistent": true,
    "recording": true
  },
  {
    "busy": false,
    "count": 524288,
    "granularity": 65536,
    "name": "bitmap0",
    "persistent": false,
    "recording": true
  }
]

bitmaps in backing image:
[
  {
    "flags": [
      "auto"
    ],
    "granularity": 65536,
    "name": "bitmap1"
  }
]