mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
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>
26 lines
462 B
JSON
26 lines
462 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": "current"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|