]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Introduce qemuDomainRemoveInactiveJobLocked
authorWang Yechao <wang.yechao255@zte.com.cn>
Fri, 21 Sep 2018 04:35:09 +0000 (12:35 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Sat, 22 Sep 2018 11:11:22 +0000 (07:11 -0400)
commita7b236345b9d2df8db33fcef0131b12448fb4f7c
tree9af97777f2f22098949d2f744e1e784e2a496388
parent6901a9321d15c0eeb1fce0cd251a76f3708e1471
qemu: Introduce qemuDomainRemoveInactiveJobLocked

Create a qemuDomainRemoveInactiveJobLocked which copies
qemuDomainRemoveInactiveJob except of course calling
another new helper qemuDomainRemoveInactiveLocked.

The qemuDomainRemoveInactiveLocked is a copy of
qemuDomainRemoveInactive except that instead of calling
virDomainObjListRemove it calls virDomainObjListRemoveLocked.

Signed-off-by: Wang Yechao <wang.yechao255@zte.com.cn>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h