Re: [PATCH 07/19] qemu: checkpoint: Track and relabel images for bitmap merging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
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@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux