mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +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>
90 lines
1.5 KiB
Plaintext
90 lines
1.5 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": "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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|