]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: propagate virDomainJobObj into qemuDomainObjPreserveJob()
authorKristina Hanicova <khanicov@redhat.com>
Wed, 3 Aug 2022 12:43:14 +0000 (14:43 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 8 Aug 2022 10:19:29 +0000 (12:19 +0200)
commit4df82dbbd17619f413771fc5ff5249cf4fe361c5
treeff5f97a331e13f65cf8ff8dc10ba84c564faf135
parent36435967f6baa858b6d6f85c3128df1f66e3d801
qemu: propagate virDomainJobObj into qemuDomainObjPreserveJob()

It does not make sense to propagate virDomainObj and get
qemuDomainObjPrivate from it, when it is already accessible in
the only function qemuDomainObjPreserveJob() is called from. That
being said, we can also propagate virDomainJobObj directly and
avoid using qemu private structure.

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domainjob.c
src/qemu/qemu_domainjob.h
src/qemu/qemu_process.c