mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00:00
b630cf4c0d
The 'snapshots' case has multiple layers so we need to make sure that the bitmaps are merged with the appropriate temporary bitmaps formatted from the allocation bitmap for any backing chain layer above. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
30 lines
537 B
JSON
30 lines
537 B
JSON
[
|
|
{
|
|
"type": "block-dirty-bitmap-add",
|
|
"data": {
|
|
"node": "target_node",
|
|
"name": "target-bitmap-name",
|
|
"persistent": false,
|
|
"disabled": true,
|
|
"granularity": 65536
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "target_node",
|
|
"target": "target-bitmap-name",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-1-format",
|
|
"name": "d"
|
|
},
|
|
{
|
|
"node": "libvirt-2-format",
|
|
"name": "d"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|