[libvirt] [PATCH v2 21/25] qemu: backup: Implement stats gathering while the job is running

Ján Tomko jtomko at redhat.com
Mon Dec 9 16:55:05 UTC 2019


On Tue, Dec 03, 2019 at 06:17:43PM +0100, Peter Krempa wrote:
>We can use the output of 'query-jobs' to figure out some useful
>information about a backup job. That is progress in case of a push job
>and scratch file use in case of a pull job.
>
>Add a worker which will total up the data and call it from
>qemuDomainGetJobStatsInternal.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_backup.c | 98 ++++++++++++++++++++++++++++++++++++++++++
> src/qemu/qemu_backup.h |  5 +++
> src/qemu/qemu_driver.c |  3 +-
> 3 files changed, 105 insertions(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20191209/812b6e38/attachment-0001.sig>


More information about the libvir-list mailing list