]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: blockjob: Implement concluded blockjob handler for backup blockjobs
authorPeter Krempa <pkrempa@redhat.com>
Fri, 4 Oct 2019 14:28:47 +0000 (16:28 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 10 Dec 2019 11:41:58 +0000 (12:41 +0100)
commit94003024770478f1b894dde792d7b00946f4dade
tree627e1722548e9c5c132363194337ff659ffc3ffc
parente0daa03a35135075f07dee43e5fc2fe9ef37da05
qemu: blockjob: Implement concluded blockjob handler for backup blockjobs

After the individual sub-blockjobs of a backup libvirt job finish we
must detect it and notify the parent job, so that it can be properly
terminated.

Since we update job information to determine success of a blockjob we
can directly report back also statistics of the blockjob.

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