]> xenbits.xensource.com Git - libvirt.git/commit
qemu_snapshot: convert snapshot delete to async domain job
authorPavel Hrdina <phrdina@redhat.com>
Wed, 14 Dec 2022 18:09:48 +0000 (19:09 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 9 Jan 2023 12:33:02 +0000 (13:33 +0100)
commit2038c1cd3a1731cceb6a4136774ba62fd98327ae
treeb9de97fd4ea239a66d63d0a42fce254835d698ad
parentf5def5cd11683c62d7746c16f3bc3c3bab60d724
qemu_snapshot: convert snapshot delete to async domain job

Deleting external snapshots will require to run it as async domain job,
the same way as we do for snapshot creation.

For internal snapshots modify the job mask in order to forbid any other
job to be started.

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