On Wed, Dec 12, 2018 at 06:08:23PM +0100, Peter Krempa wrote:
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(a)redhat.com>
---
src/qemu/qemu_blockjob.c | 36 +++++++++++++++++++++++-------------
src/qemu/qemu_blockjob.h | 15 +++++++++++++++
src/qemu/qemu_domain.c | 12 +++++++++---
src/qemu/qemu_domain.h | 9 ++-------
src/qemu/qemu_driver.c | 16 ++++++++--------
src/qemu/qemu_process.c | 15 ++++++++-------
6 files changed, 65 insertions(+), 38 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano