[libvirt PATCH 25/30] qemu_snapshot: update metadata when deleting snapshots

Peter Krempa pkrempa at redhat.com
Tue Dec 13 16:09:54 UTC 2022


On Thu, Dec 08, 2022 at 14:31:01 +0100, Pavel Hrdina wrote:
> With external snapshots we need to modify the metadata bit more then
> what is required for internal snapshots. Mainly the storage source
> location changes with every external snapshot.
> 
> This means that if we delete non-leaf snapshot we need to update all
> children snapshots and modify the disk sources for all affected disks.
> 
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  src/qemu/qemu_snapshot.c | 165 +++++++++++++++++++++++++++++++++++----

Reviewed-by: Peter Krempa <pkrempa at redhat.com>


More information about the libvir-list mailing list