
13 Dec
2022
13 Dec
'22
1:48 p.m.
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@redhat.com> --- src/qemu/qemu_snapshot.c | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-)
Reviewed-by: Peter Krempa <pkrempa@redhat.com>