]> xenbits.xensource.com Git - libvirt.git/commit
qemu_domain: Avoid using qemuDomainObjPrivatePtr as parameter
authorPrathamesh Chavan <pc44800@gmail.com>
Wed, 24 Jun 2020 10:45:22 +0000 (16:15 +0530)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 24 Jun 2020 16:09:14 +0000 (18:09 +0200)
commit6d0b1d2df55ad139a7639a052f889361e499a818
tree6d55cd291d77b6489f3143832b8916b302cf65c2
parentbe997aaa7dd3152a15b74074b76d130d6b65130c
qemu_domain: Avoid using qemuDomainObjPrivatePtr as parameter

In functions `qemuDomainObjInitJob`, `qemuDomainObjResetJob`,
`qemuDomainObjResetAgentJob`, `qemuDomainObjResetAsyncJob`,
`qemuDomainObjFreeJob`, `qemuDomainJobAllowed`,
`qemuDomainNestedJobAllowed` we avoid sending the complete
qemuDomainObjPrivatePtr as parameter and instead just send
qemuDomainJobObjPtr.

This is done in a effort to separating the qemu-job APIs into
a spearate file.

Signed-off-by: Prathamesh Chavan <pc44800@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h