mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 12:51:12 +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>
100 lines
1.7 KiB
Plaintext
100 lines
1.7 KiB
Plaintext
pre job bitmap disable:
|
|
[
|
|
{
|
|
"type": "block-dirty-bitmap-disable",
|
|
"data": {
|
|
"node": "libvirt-4-format",
|
|
"name": "a"
|
|
}
|
|
}
|
|
]
|
|
merge bitmpas:
|
|
[
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-4-format",
|
|
"target": "a",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-3-format",
|
|
"name": "a"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-add",
|
|
"data": {
|
|
"node": "libvirt-4-format",
|
|
"name": "b",
|
|
"persistent": true,
|
|
"disabled": true,
|
|
"granularity": 65536
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-4-format",
|
|
"target": "b",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-3-format",
|
|
"name": "b"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-add",
|
|
"data": {
|
|
"node": "libvirt-4-format",
|
|
"name": "c",
|
|
"persistent": true,
|
|
"disabled": true,
|
|
"granularity": 65536
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-4-format",
|
|
"target": "c",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-2-format",
|
|
"name": "c"
|
|
},
|
|
{
|
|
"node": "libvirt-3-format",
|
|
"name": "c"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-add",
|
|
"data": {
|
|
"node": "libvirt-4-format",
|
|
"name": "d",
|
|
"persistent": true,
|
|
"disabled": false,
|
|
"granularity": 65536
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-4-format",
|
|
"target": "d",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-2-format",
|
|
"name": "d"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|