mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00: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>
77 lines
1.3 KiB
Plaintext
77 lines
1.3 KiB
Plaintext
pre job bitmap disable:
|
|
[
|
|
{
|
|
"type": "block-dirty-bitmap-disable",
|
|
"data": {
|
|
"node": "libvirt-5-format",
|
|
"name": "a"
|
|
}
|
|
}
|
|
]
|
|
merge bitmpas:
|
|
[
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-5-format",
|
|
"target": "a",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-3-format",
|
|
"name": "a"
|
|
},
|
|
{
|
|
"node": "libvirt-4-format",
|
|
"name": "a"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-add",
|
|
"data": {
|
|
"node": "libvirt-5-format",
|
|
"name": "b",
|
|
"persistent": true,
|
|
"disabled": true,
|
|
"granularity": 65536
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-5-format",
|
|
"target": "b",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-3-format",
|
|
"name": "b"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-add",
|
|
"data": {
|
|
"node": "libvirt-5-format",
|
|
"name": "c",
|
|
"persistent": true,
|
|
"disabled": false,
|
|
"granularity": 65536
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-5-format",
|
|
"target": "c",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-3-format",
|
|
"name": "c"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|