On Sat, Aug 01, 2026 at 12:04:22 -0500, Jaehoon Kim wrote: > Add support for reading the iothread poll-weight value from QEMU and > exposing it via domain stats. > > Add poll_weight and set_poll_weight fields to qemuMonitorIOThreadInfo > and parse the poll-weight property from the QMP query-iothreads > response. The property is optional and only present on newer QEMU > binaries. > > Expose the fetched value through the domain stats interface by adding > VIR_DOMAIN_STATS_IOTHREAD_SUFFIX_POLL_WEIGHT and reporting it in > qemuDomainGetStatsIOThread when the value is available. > > Signed-off-by: Jaehoon Kim <[email protected]> > --- > docs/manpages/virsh.rst | 2 ++ > include/libvirt/libvirt-domain.h | 10 ++++++++++ > src/qemu/qemu_driver.c | 5 +++++ > src/qemu/qemu_monitor.h | 2 ++ > src/qemu/qemu_monitor_json.c | 5 +++++ > 5 files changed, 24 insertions(+)
Reviewed-by: Peter Krempa <[email protected]>
