]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Setup disk latency histograms on startup/hotplug/update
authorPeter Krempa <pkrempa@redhat.com>
Fri, 23 Jan 2026 16:18:14 +0000 (17:18 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 Feb 2026 09:25:49 +0000 (10:25 +0100)
commit5787326541be4eafaa7ae3b4f866b3da793d44fe
tree03987be7f72f4b4e6522176b34d78eed47c91fbb
parentb874c944bd8c4ffa6c51394557587c8c203f1656
qemu: Setup disk latency histograms on startup/hotplug/update

Setup the histograms on startup and hotplug of devices via
'qemuProcessSetupDiskPropsRuntime' and facilitate update/reset/disable
of histogram collection via 'qemuDomainChangeDiskLive'.

The latter allows to use the update device API to either clear the bins
or select new bin configuration or disable the histogram altogether
without the need for a specific API.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_hotplug.c
src/qemu/qemu_process.c