[libvirt] [PATCH 0/9] qemu: stats/misc refactors (blockdev-add saga)

Peter Krempa pkrempa at redhat.com
Wed Jul 18 15:22:01 UTC 2018


Last lot of refactors which could be split of prior to starting it for
real.

Peter Krempa (9):
  qemu: driver: Reuse qemuDomainBlocksStatsGather in
    qemuDomainGetBlockInfo
  qemu: domain: Move out clearing of backing chain in
    qemuDomainDetermineDiskChain
  qemu: domain: Add helper for getting the disk backend alias
  qemu: command: use qemuDomainDiskGetBackendAlias in commandline
    building
  qemu: monitor: Add the 'query-nodes' argument for query-blockstats
  qemu: json: Extract gathering of block statistics
  qemu: monitor: Split out code to gather data from 'query-block'
  utils: storage: Add helper for checking if storage source is the same
  qemu: Replace qemuDomainDiskSourceDiffers by
    virStorageSourceIsSameLocation

 src/libvirt_private.syms     |   1 +
 src/qemu/qemu_block.c        |   2 +-
 src/qemu/qemu_blockjob.c     |   4 +-
 src/qemu/qemu_command.c      |  24 ++++++----
 src/qemu/qemu_domain.c       |  66 ++++++++++++---------------
 src/qemu/qemu_domain.h       |  10 +++--
 src/qemu/qemu_driver.c       |  47 +++++++-------------
 src/qemu/qemu_hotplug.c      |   2 +-
 src/qemu/qemu_monitor.c      |   8 +++-
 src/qemu/qemu_monitor.h      |   3 +-
 src/qemu/qemu_monitor_json.c | 103 ++++++++++++++++++++++++++++---------------
 src/qemu/qemu_monitor_json.h |   3 +-
 src/qemu/qemu_process.c      |   7 ++-
 src/util/virstoragefile.c    |  43 ++++++++++++++++++
 src/util/virstoragefile.h    |   3 ++
 15 files changed, 198 insertions(+), 128 deletions(-)

-- 
2.16.2




More information about the libvir-list mailing list