[libvirt] [PATCH 0/9] domain job stats handling improvements (incremental backup prequels)

Peter Krempa pkrempa at redhat.com
Mon Nov 25 15:01:27 UTC 2019


Improve few aspecs of the domain job stats handling. I felt these make
life simpler when using the domain stats specifically when trying to
figure out how stuff works.

Peter Krempa (9):
  virsh: domain: Extract the code converting domain job stats to
    virDomainJobInfo
  api: Allow keeping completed domain job stats when reading them
  virsh: Implement VIR_DOMAIN_JOB_STATS_COMPLETED_KEEP for 'domjobinfo'
  qemu: Implement VIR_DOMAIN_JOB_STATS_COMPLETED_KEEP
  virsh: domjobinfo: Print also job operation for failed jobs
  virsh: domjobinfo: Allow printing stats also for failed and other jobs
  virsh: domjobinfo: Add switch to print raw fields
  API: Introduce VIR_DOMAIN_JOB_SUCCESS field for virDomainGetJobStats
  qemu: Always reset @info in qemuDomainGetJobInfo

 include/libvirt/libvirt-domain.h |   9 +++
 src/libvirt-domain.c             |   6 +-
 src/qemu/qemu_driver.c           |   9 ++-
 tools/virsh-domain.c             | 124 +++++++++++++++++++++----------
 tools/virsh.pod                  |  16 +++-
 5 files changed, 115 insertions(+), 49 deletions(-)

-- 
2.23.0




More information about the libvir-list mailing list