Re: [PATCH RFC v2 3/3] qemu_driver: use qemuMonitorQueryStats to extract halt poll time

2022-07-07 Thread Martin Kletzander
On Wed, Jul 06, 2022 at 04:56:28AM +0530, Amneesh Singh wrote: Related: https://gitlab.com/libvirt/libvirt/-/issues/276 This patch uses qemuMonitorQueryStats to query "halt_poll_success_ns" and "halt_poll_fail_ns" for every vCPU. The respective values for each vCPU are then added together.

[PATCH RFC v2 3/3] qemu_driver: use qemuMonitorQueryStats to extract halt poll time

2022-07-05 Thread Amneesh Singh
Related: https://gitlab.com/libvirt/libvirt/-/issues/276 This patch uses qemuMonitorQueryStats to query "halt_poll_success_ns" and "halt_poll_fail_ns" for every vCPU. The respective values for each vCPU are then added together. Signed-off-by: Amneesh Singh --- src/qemu/qemu_driver.c | 70