Re: [PATCH 0/4] qemu: Report stats for backing images

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

 



On a Monday in 2021, Peter Krempa wrote:
Management tools such as oVirt need to monitor the 'allocation' of the
backup job scratch file or disk copy target. Add the stats to the bulk
stats.

The stats can be queried by:

$ virsh domstats $VM --block --backing

Patch 1 fixes a bug in the status XML formatter where we'd not store the
private data for the scratch file of a backup job, which resulted in a
failure of getting the stats after restart of libvirtd.

Peter Krempa (4):
 virDomainBackupDefFormat: Propagate private data callbacks
 qemustatusxml2xmldata: backup-pull: Add private data for scratch image
 qemuMonitorJSONQueryBlockstats: query stats for helper images
 qemuDomainGetStatsBlockExportDisk: Report stats also for helper images

src/conf/backup_conf.c                        | 10 +--
src/conf/backup_conf.h                        |  3 +-
src/qemu/qemu_backup.c                        |  4 +-
src/qemu/qemu_domain.c                        |  2 +-
src/qemu/qemu_driver.c                        | 61 +++++++++++++++++++
src/qemu/qemu_monitor.c                       |  4 +-
src/qemu/qemu_monitor_json.c                  | 20 +++---
src/qemu/qemu_monitor_json.h                  |  3 +-
tests/genericxml2xmltest.c                    |  2 +-
.../qemustatusxml2xmldata/backup-pull-in.xml  |  9 ++-
10 files changed, 95 insertions(+), 23 deletions(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux