[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 0/6] Add support for fetching statistics of completed jobs



Using virDomainGetJobStats, we can monitor running jobs but sometimes it
may be useful to get statistics about a job that already finished, for
example, to get the final amount of data transferred during migration or
to get an idea about total downtime. This is what the following patches
are about.

Jiri Denemark (6):
  Refactor job statistics
  Add support for fetching statistics of completed jobs
  virsh: Add support for completed job stats
  qemu: Transfer migration statistics to destination
  qemu: Recompute downtime and total time when migration completes
  qemu: Transfer recomputed stats back to source

 include/libvirt/libvirt.h.in |  11 ++
 src/libvirt.c                |  11 +-
 src/qemu/qemu_domain.c       | 186 +++++++++++++++++++++++++-
 src/qemu/qemu_domain.h       |  27 +++-
 src/qemu/qemu_driver.c       | 130 ++++--------------
 src/qemu/qemu_migration.c    | 304 ++++++++++++++++++++++++++++++++++++-------
 src/qemu/qemu_monitor_json.c |   3 +-
 src/qemu/qemu_process.c      |   9 +-
 tools/virsh-domain.c         |  27 +++-
 tools/virsh.pod              |   8 +-
 10 files changed, 545 insertions(+), 171 deletions(-)

-- 
2.1.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]