As agreed in [1] we should enhance job statistics returned by
virDomainGetJobStats API and VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event
with a new typed parameter which would indicate what operation
(migration, snapshot, ...) the reported statistics belong to.
https://bugzilla.redhat.com/show_bug.cgi?id=1441563
[1]
https://www.redhat.com/archives/libvir-list/2017-April/msg00540.html
Jiri Denemark (2):
Add VIR_DOMAIN_JOB_OPERATION typed parameter
qemu: Report VIR_DOMAIN_JOB_OPERATION
include/libvirt/libvirt-domain.h | 25 +++++++++++++++++++++++++
src/qemu/qemu_domain.c | 16 +++++++++++++---
src/qemu/qemu_domain.h | 4 +++-
src/qemu/qemu_driver.c | 32 ++++++++++++++++++++++----------
src/qemu/qemu_migration.c | 19 ++++++++++++-------
src/qemu/qemu_process.c | 6 ++++--
src/qemu/qemu_process.h | 3 ++-
tools/virsh-domain.c | 29 +++++++++++++++++++++++++++++
8 files changed, 110 insertions(+), 24 deletions(-)
--
2.12.2