Re: [PATCH v4 1/3] qemu_monitor: add qemuMonitorQueryStats

2022-08-18 Thread Martin Kletzander
On Thu, Aug 18, 2022 at 08:47:18AM +0530, Amneesh Singh wrote: Related: https://gitlab.com/libvirt/libvirt/-/issues/276 This patch adds an API for the "query-stats" QMP command. The query returns a JSON containing the statistics based on the target, which can either be vCPU or VM, and the provi

[PATCH v4 1/3] qemu_monitor: add qemuMonitorQueryStats

2022-08-17 Thread Amneesh Singh
Related: https://gitlab.com/libvirt/libvirt/-/issues/276 This patch adds an API for the "query-stats" QMP command. The query returns a JSON containing the statistics based on the target, which can either be vCPU or VM, and the providers. The API deserializes the query result into an array of GHas