]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_snapshot: use VIR_ASYNC_JOB_SNAPSHOT when reverting snapshot
authorPavel Hrdina <phrdina@redhat.com>
Fri, 5 May 2023 15:53:54 +0000 (17:53 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 22 Aug 2023 14:06:18 +0000 (16:06 +0200)
commit96fa494f881c008096c50dd7553d7db69b4841e4
treee6ee7af850edd26b69a8279159fceb60a485236a
parent537f9136b7094efdbf2056f01790ce3150dfbde9
qemu_snapshot: use VIR_ASYNC_JOB_SNAPSHOT when reverting snapshot

Both creating and deleting snapshot are using VIR_ASYNC_JOB_SNAPSHOT but
reverting is using VIR_ASYNC_JOB_START. Let's unify it to make it
consistent for all snapshot operations.

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