]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Introduce and use qemuDomainRemoveInactiveJob
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 15 Aug 2017 07:12:43 +0000 (09:12 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 29 Aug 2017 09:18:34 +0000 (11:18 +0200)
commit9115dcd83e3500e8003d65470c81c30308024048
treed1bd9d94f1693f72f1e506e36542bcd694b38770
parent265d0bed0b1b1f641d016cdfb035362970ac4070
qemu: Introduce and use qemuDomainRemoveInactiveJob

At some places we either already have synchronous job or we just
released it. Also, some APIs might want to use this code without
having to release their job. Anyway, the job acquire code is
moved out to qemuDomainRemoveInactiveJob so that
qemuDomainRemoveInactive does just what it promises.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c
src/qemu/qemu_process.c