[PATCH 00/10] Fix device names reported by 'write_threshold' event and add support for monitoring 'mirror'

Peter Krempa pkrempa at redhat.com
Wed Jul 15 13:10:02 UTC 2020


Allow monitoring the 'mirror' image write threshold and also report
correct aliases. Clean up some leftovers and improve docs while at it.

Peter Krempa (10):
  virDomainSetBlockThreshold: Document values of '@dev' better
  qemuDomainDiskBackingStoreGetName: Remove unused argument
  qemuDomainDiskBackingStoreGetName: Eliminate temp variable
  qemuProcessHandleBlockThreshold: Report correct indexes
  virDomainSetBlockThreshold: Clarify values of @dev the event is fired
    for
  qemuDomainDiskLookupByNodename: Remove unused 'idx'
  virStorageSourceFindByNodeName: Remove unused 'idx' argument
  qemuDomainDiskLookupByNodename: Look also for 'mirror' node names
  qemuDomainGetStorageSourceByDevstr: Look also in 'mirror' chain
  virDomainSetBlockThreshold: Mention that the event can be registered
    for <mirror>

 src/libvirt-domain.c      | 13 +++++++++++
 src/qemu/qemu_domain.c    | 49 +++++++++++++++++++--------------------
 src/qemu/qemu_domain.h    |  4 +---
 src/qemu/qemu_process.c   | 28 +++++++++++++++-------
 src/util/virstoragefile.c | 16 +++----------
 src/util/virstoragefile.h |  3 +--
 6 files changed, 61 insertions(+), 52 deletions(-)

-- 
2.26.2




More information about the libvir-list mailing list