]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_snapshot: create: move virDomainSnapshotAssignDef to both code paths
authorPavel Hrdina <phrdina@redhat.com>
Wed, 29 Sep 2021 16:53:52 +0000 (18:53 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 1 Dec 2021 11:33:31 +0000 (12:33 +0100)
commitfe52bc2638eebaaebcdae4c6d64c8125fd98736d
treeda63699a3a261cfc91be54aebf8691987527e33a
parent0960353d6ca862a7696c030be94d3407d86214ff
qemu_snapshot: create: move virDomainSnapshotAssignDef to both code paths

This makes it obvious that the function is called for creating new
snapshot and redefining old snapshot as well.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_snapshot.c