mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
b5eaabfbf8
Simulate commit between all the combinations of layers in the 'snapshots' case to see whether the code merges the correct bitmaps with the correct depth of temporary bitmaps. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
106 lines
2.0 KiB
Plaintext
106 lines
2.0 KiB
Plaintext
merge bitmpas:
|
|
[
|
|
{
|
|
"type": "block-dirty-bitmap-add",
|
|
"data": {
|
|
"node": "libvirt-2-format",
|
|
"name": "current",
|
|
"persistent": true,
|
|
"disabled": false,
|
|
"granularity": 65536
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-2-format",
|
|
"target": "current",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-1-format",
|
|
"name": "current"
|
|
},
|
|
{
|
|
"node": "libvirt-2-format",
|
|
"name": "libvirt-tmp-activewrite"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-2-format",
|
|
"target": "c",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-1-format",
|
|
"name": "c"
|
|
},
|
|
{
|
|
"node": "libvirt-2-format",
|
|
"name": "libvirt-tmp-activewrite"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-2-format",
|
|
"target": "b",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-1-format",
|
|
"name": "b"
|
|
},
|
|
{
|
|
"node": "libvirt-2-format",
|
|
"name": "libvirt-tmp-activewrite"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-2-format",
|
|
"target": "a",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-1-format",
|
|
"name": "a"
|
|
},
|
|
{
|
|
"node": "libvirt-2-format",
|
|
"name": "libvirt-tmp-activewrite"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-2-format",
|
|
"target": "d",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-1-format",
|
|
"name": "d"
|
|
},
|
|
{
|
|
"node": "libvirt-2-format",
|
|
"name": "libvirt-tmp-activewrite"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-remove",
|
|
"data": {
|
|
"node": "libvirt-2-format",
|
|
"name": "libvirt-tmp-activewrite"
|
|
}
|
|
}
|
|
]
|