Re: [libvirt PATCH] qemu: snapshot: delete disk image only if parent snapshot is external

2025-01-10 Thread Pavel Hrdina
On Fri, Jan 10, 2025 at 04:10:53PM +0100, Peter Krempa wrote: > On Fri, Jan 10, 2025 at 15:21:21 +0100, Pavel Hrdina wrote: > > When we are deleting external snapshot that is not active we only need > > to delete overlay disk image of the parent snapshot. This works > > correctly even if parent sna

Re: [libvirt PATCH] qemu: snapshot: delete disk image only if parent snapshot is external

2025-01-10 Thread Peter Krempa
On Fri, Jan 10, 2025 at 15:21:21 +0100, Pavel Hrdina wrote: > When we are deleting external snapshot that is not active we only need > to delete overlay disk image of the parent snapshot. This works > correctly even if parent snapshot is external and active as it will have > another overlay created

[libvirt PATCH] qemu: snapshot: delete disk image only if parent snapshot is external

2025-01-10 Thread Pavel Hrdina
When we are deleting external snapshot that is not active we only need to delete overlay disk image of the parent snapshot. This works correctly even if parent snapshot is external and active as it will have another overlay created when user reverted to that snapshot. In case the parent snapshot i