]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: blockjob: Separate and unify block job (un)registration
authorPeter Krempa <pkrempa@redhat.com>
Thu, 27 Jun 2019 15:54:24 +0000 (17:54 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 18 Jul 2019 15:59:34 +0000 (17:59 +0200)
commitdbdda6aca0ca3e0d764c369ab133980439b413e4
tree8d51eb213ece3ccc94d642d68dfaaf27f80b0c0c
parent0610aa51c48b6bde1643bac4f336e3f00f826c18
qemu: blockjob: Separate and unify block job (un)registration

Rename and move qemuBlockJobTerminate to qemuBlockJobUnregister and
separate bits from qemuBlockJobDiskNew which register the job with the
disk. This creates an unified interface for other APIs to use.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_blockjob.c