Skip to content

Commit

Permalink
re-generate from v2.11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
connorkuehl committed Dec 9, 2022
1 parent 39d5a90 commit f035778
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions qmp/raw/autogen.go
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,13 @@ type BlockDirtyBitmapAdd struct {
Autoload *bool `json:"autoload,omitempty"`
}

// BlockDirtyBitmapSha256 -> BlockDirtyBitmapSha256 (struct)

// BlockDirtyBitmapSha256 implements the "BlockDirtyBitmapSha256" QMP API type.
type BlockDirtyBitmapSha256 struct {
Sha256 string `json:"sha256"`
}

// BlockDirtyInfo -> BlockDirtyInfo (struct)

// BlockDirtyInfo implements the "BlockDirtyInfo" QMP API type.
Expand Down Expand Up @@ -14775,6 +14782,40 @@ func (m *Monitor) XColoLostHeartbeat() (err error) {
return
}

// x-debug-block-dirty-bitmap-sha256 -> XDebugBlockDirtyBitmapSha256 (command)

// XDebugBlockDirtyBitmapSha256 implements the "x-debug-block-dirty-bitmap-sha256" QMP API call.
func (m *Monitor) XDebugBlockDirtyBitmapSha256(node string, name string) (ret BlockDirtyBitmapSha256, err error) {
cmd := struct {
Node string `json:"node"`
Name string `json:"name"`
}{
node,
name,
}
bs, err := json.Marshal(map[string]interface{}{
"execute": "x-debug-block-dirty-bitmap-sha256",
"arguments": cmd,
})
if err != nil {
return
}
bs, err = m.mon.Run(bs)
if err != nil {
return
}
res := struct {
Res json.RawMessage `json:"return"`
}{}
if err = json.Unmarshal(bs, &res); err != nil {
return
}
if err = json.Unmarshal([]byte(res.Res), &ret); err != nil {
return
}
return
}

// xen-colo-do-checkpoint -> XenColoDoCheckpoint (command)

// XenColoDoCheckpoint implements the "xen-colo-do-checkpoint" QMP API call.
Expand Down

0 comments on commit f035778

Please sign in to comment.