Re: [libvirt RFC 12/24] qemu_snapshot: rework snapshot children deletion

2022-09-01 Thread Peter Krempa
On Tue, Aug 23, 2022 at 18:32:15 +0200, Pavel Hrdina wrote: > This simplifies the code a bit by reusing existing parts that deletes > a single snapshot. You should mention that the tradeoff is that some steps will get executed multiple times. > > Signed-off-by: Pavel Hrdina > --- > src/qemu/qe

[libvirt RFC 12/24] qemu_snapshot: rework snapshot children deletion

2022-08-23 Thread Pavel Hrdina
This simplifies the code a bit by reusing existing parts that deletes a single snapshot. Signed-off-by: Pavel Hrdina --- src/qemu/qemu_snapshot.c | 69 ++-- 1 file changed, 38 insertions(+), 31 deletions(-) diff --git a/src/qemu/qemu_snapshot.c b/src/qemu/qem