]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_snapshot: create: refactor external snapshot detection
authorPavel Hrdina <phrdina@redhat.com>
Tue, 30 Jan 2024 10:33:23 +0000 (11:33 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 30 Jan 2024 12:54:32 +0000 (13:54 +0100)
commitfaa2e3bb541e50d719d05e58a129b4443c0c737c
treea035b9cbb829bf6bef8d7954a8e50b5b71174b2d
parent7143c4e1f95b4dc804f67cc5de98fba746193892
qemu_snapshot: create: refactor external snapshot detection

Introduce new function qemuSnapshotCreateUseExternal() that will return
true if we will use external snapshots as default location.

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