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