mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 08:05:24 +00:00
8e94e29010
Allow qemu access to modify backing files in case when we want to delete a checkpoint. This patch adds tracking of which images need to be relabelled when calculating the transaction, the code to relabel them and rollback. To verify that stuff works we also output the list of images to relabel into the test case output files in qemublocktest. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
35 lines
584 B
JSON
35 lines
584 B
JSON
[
|
|
{
|
|
"type": "block-dirty-bitmap-add",
|
|
"data": {
|
|
"node": "libvirt-2-format",
|
|
"name": "b",
|
|
"persistent": true,
|
|
"disabled": true,
|
|
"granularity": 65536
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-merge",
|
|
"data": {
|
|
"node": "libvirt-2-format",
|
|
"target": "b",
|
|
"bitmaps": [
|
|
{
|
|
"node": "libvirt-2-format",
|
|
"name": "c"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "block-dirty-bitmap-remove",
|
|
"data": {
|
|
"node": "libvirt-2-format",
|
|
"name": "c"
|
|
}
|
|
}
|
|
]
|
|
reopen nodes:
|
|
libvirt-2-format
|