[PATCH 0/4] qemu: Report stats for backing images
Ján Tomko
jtomko at redhat.com
Wed Nov 3 15:15:31 UTC 2021
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 at redhat.com>
Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211103/7d363bb4/attachment-0001.sig>
More information about the libvir-list
mailing list