mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
8f096cd880
Test handling of more complex cases of merging bitmaps accross snapshots. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
50 lines
828 B
Plaintext
50 lines
828 B
Plaintext
pre job bitmap disable:
|
|
[
|
|
{
|
|
"type": "block-dirty-bitmap-disable",
|
|
"data": {
|
|
"node": "libvirt-3-format",
|
|
"name": "c"
|
|
}
|
|
}
|
|
]
|
|
merge bitmpas:
|
|
[
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-3-format",
|
|
"target": "c",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-2-format",
|
|
"name": "c"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-add",
|
|
"data": {
|
|
"node": "libvirt-3-format",
|
|
"name": "d",
|
|
"persistent": true,
|
|
"disabled": false,
|
|
"granularity": 65536
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-3-format",
|
|
"target": "d",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-2-format",
|
|
"name": "d"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|