[PATCH 07/19] qemu: checkpoint: Track and relabel images for bitmap merging
Ján Tomko
jtomko at redhat.com
Mon Feb 3 12:28:41 UTC 2020
On Fri, Jan 31, 2020 at 03:31:11PM +0100, Peter Krempa wrote:
>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 at redhat.com>
>---
> src/qemu/qemu_checkpoint.c | 35 ++++++++++++++++---
> src/qemu/qemu_checkpoint.h | 3 +-
> tests/qemublocktest.c | 19 ++++++++--
> .../snapshots-intermediate1-out.json | 2 ++
> .../snapshots-intermediate2-out.json | 3 ++
> .../snapshots-intermediate3-out.json | 2 ++
> .../snapshots-noparent-out.json | 4 +++
> ...ynthetic-checkpoint-intermediate1-out.json | 2 ++
> ...ynthetic-checkpoint-intermediate2-out.json | 2 ++
> ...ynthetic-checkpoint-intermediate3-out.json | 2 ++
> ...ots-synthetic-checkpoint-noparent-out.json | 4 +++
> 11 files changed, 70 insertions(+), 8 deletions(-)
>
Reviewed-by: Ján Tomko <jtomko at redhat.com>
Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200203/64bbcb87/attachment-0001.sig>
More information about the libvir-list
mailing list