]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_snapshot: create: don't require disk-only flag for offline external snapshot
authorPavel Hrdina <phrdina@redhat.com>
Tue, 30 Jan 2024 11:13:32 +0000 (12:13 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 30 Jan 2024 12:54:42 +0000 (13:54 +0100)
commit189fdeff10b85786a495a8fcf67ba1428d9fc482
treeb7104033985caf6747bf14a46fc8b2de742262ed
parentfaa2e3bb541e50d719d05e58a129b4443c0c737c
qemu_snapshot: create: don't require disk-only flag for offline external snapshot

Historically creating offline external snapshot required disk-only flag
as well. Now when user requests new snapshot for offline VM and at least
one disk is specified to use external snapshot we will no longer require
disk-only flag as all other not specified disk will use external
snapshots as well.

Resolves: https://issues.redhat.com/browse/RHEL-22797
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_snapshot.c