[PATCH 0/8] qemu: Report proper stats when a backup job is running

Peter Krempa pkrempa at redhat.com
Tue Oct 19 14:43:07 UTC 2021


Patch 1 fixes the bug this series is about, patch 2 fixes same thing in
the bulk stats. Patches 3-6 remove some pointless cleanup sections and
patches 7-8 remove the 'backingChain' argument as we always want to
fetch all stats.

Peter Krempa (8):
  qemuDomainBlocksStatsGather: Always fetch stats for the full backing
    chain
  qemuDomainGetStatsBlock: Always fetch stats for the full backing chain
  qemuMonitorJSONBlockStatsUpdateCapacity: Refactor cleanup
  qemuMonitorJSONBlockStatsUpdateCapacityOne: Refactor cleanup
  qemuDomainGetStatsBlock: Refactor cleanup
  qemuMonitorJSONQueryBlockstats: Refactor cleanup
  qemuMonitorGetAllBlockStatsInfo: Remove 'backingChain' argument
  qemuMonitorBlockStatsUpdateCapacity: Remove 'backingChain' argument

 src/qemu/qemu_driver.c           | 31 ++++++-------
 src/qemu/qemu_migration_cookie.c |  2 +-
 src/qemu/qemu_monitor.c          | 20 +++------
 src/qemu/qemu_monitor.h          |  6 +--
 src/qemu/qemu_monitor_json.c     | 74 +++++++++++---------------------
 src/qemu/qemu_monitor_json.h     |  6 +--
 tests/qemumonitorjsontest.c      |  2 +-
 7 files changed, 48 insertions(+), 93 deletions(-)

-- 
2.31.1




More information about the libvir-list mailing list