mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 12:51:12 +00:00
cab3622119
Some branches were not covered and thus we didn't catch that the bitmaps are not re-enabled if nothing is merged into them. Two bitmaps are necessary to reliably test the case due to hash table ordering. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Tested-by: Daniel P. Berrangé <berrange@redhat.com>
113 lines
2.0 KiB
Plaintext
113 lines
2.0 KiB
Plaintext
pre job bitmap disable:
|
|
[
|
|
{
|
|
"type": "block-dirty-bitmap-disable",
|
|
"data": {
|
|
"node": "libvirt-3-format",
|
|
"name": "b"
|
|
}
|
|
}
|
|
]
|
|
merge bitmpas:
|
|
[
|
|
{
|
|
"type": "block-dirty-bitmap-enable",
|
|
"data": {
|
|
"node": "libvirt-3-format",
|
|
"name": "b"
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-add",
|
|
"data": {
|
|
"node": "libvirt-3-format",
|
|
"name": "current",
|
|
"persistent": true,
|
|
"disabled": false,
|
|
"granularity": 65536
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-3-format",
|
|
"target": "current",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-1-format",
|
|
"name": "current"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-add",
|
|
"data": {
|
|
"node": "libvirt-3-format",
|
|
"name": "c",
|
|
"persistent": true,
|
|
"disabled": true,
|
|
"granularity": 65536
|
|
}
|
|
},
|
|
{
|
|
"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": "oa",
|
|
"persistent": true,
|
|
"disabled": false,
|
|
"granularity": 65536
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-3-format",
|
|
"target": "oa",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-2-format",
|
|
"name": "oa"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-add",
|
|
"data": {
|
|
"node": "libvirt-3-format",
|
|
"name": "ob",
|
|
"persistent": true,
|
|
"disabled": false,
|
|
"granularity": 65536
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-3-format",
|
|
"target": "ob",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-2-format",
|
|
"name": "ob"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|