[libvirt PATCH 17/30] qemu_snapshot: move snapshot metadata reparent code

Peter Krempa pkrempa at redhat.com
Tue Dec 13 13:48:38 UTC 2022


On Thu, Dec 08, 2022 at 14:30:53 +0100, Pavel Hrdina wrote:
> Previously the reparent happened before the actual snapshot deletion.
> This change moves the code closer to the rest of the code handling
> snapshot metadata when deletion happens.

Also it's now called after the deletion of the on-disk state rather than
before, but that makes actually sense.

> 
> Following patch will extract it into separate function
> 
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  src/qemu/qemu_snapshot.c | 37 +++++++++++++++++++------------------
>  1 file changed, 19 insertions(+), 18 deletions(-)

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


More information about the libvir-list mailing list