blob: 72942b387d12aae2088a4a4fff95407192739507 (
plain)
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
|
---
tags:
- qemu
- libvirt
---
To query info about block devices, including bitmaps we can use a QMP command:
```
sudo virsh qemu-monitor-command --pretty instance-00026133 '{"execute": "query-block", "arguments": {}}'
```
There are six primary bitmap-management API commands:
- `block-dirty-bitmap-add`
- `block-dirty-bitmap-remove`
- `block-dirty-bitmap-clear`
- `block-dirty-bitmap-disable`
- `block-dirty-bitmap-enable`
- `block-dirty-bitmap-merge`
And one related query command:
- `query-block`
The `node` argument to bitmap cmds can be found as `node-name` in `query-block` results.
#### Removing a dirty bitmap
Cannot be removed if it is busy.
Arguments: node, nameg
---
https://qemu-project.gitlab.io/qemu/interop/bitmaps.html
|