blob: 92eef5f74208285ebf0435e9b4d020116436af9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
---
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.
|