]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_snapshot: add merge to external snapshot delete prepare data
authorPavel Hrdina <phrdina@redhat.com>
Tue, 4 Apr 2023 12:21:05 +0000 (14:21 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 22 Aug 2023 14:06:25 +0000 (16:06 +0200)
commita3152a506b6c338ded260273274bb3e66642343a
treefb63bc67055d15d5b63e1244254635279bd94fad
parentb0876595a3331a165e13d73c742048b19390bf48
qemu_snapshot: add merge to external snapshot delete prepare data

Before external snapshot revert every delete operation did block commit
in order to delete a snapshot. But now when user reverts to non-leaf
snapshot deleting leaf snapshot will not have any overlay files so we
can just simply delete the snapshot images.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_snapshot.c