]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Consolidate disk blockjob variables into a structure
authorPeter Krempa <pkrempa@redhat.com>
Wed, 17 Oct 2018 06:57:08 +0000 (08:57 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 17 Jan 2019 16:12:50 +0000 (17:12 +0100)
commit89a877b312bed9e86c34f495fedd58a1c0e97014
tree1c8a37774b88a92ba0c4c12a394377378819506f
parentf5eadd1d9270d61df4a154baa3671bc08b36d3ff
qemu: Consolidate disk blockjob variables into a structure

Struct qemuDomainDiskPrivate was holding multiple variables connected to
a disk block job. Consolidate them into a new struct qemuBlockJobData.

This will also allow simpler extensions to the block job mechanisms.

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