[libvirt] [PATCH 01/11] qemu: Check for and return IOThread polling values if available

Michal Privoznik mprivozn at redhat.com
Fri Oct 19 11:06:40 UTC 2018


On 10/07/2018 03:00 PM, John Ferlan wrote:
> If there are IOThread polling values in the query-iothreads return
> buffer, then fill them in and set a bool indicating their presence.
> This will allow for displaying in a domain stats output eventually.
> 
> Note that the QEMU values are managed a bit differently (as int's
> stored in int64_t's) than we will manage them (as unsigned long and
> int values). This is intentional to allow for value validation
> checking when it comes time to provide the values to QEMU.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/qemu/qemu_monitor.h      |  4 ++++
>  src/qemu/qemu_monitor_json.c | 15 +++++++++++++++
>  2 files changed, 19 insertions(+)

ACK

Michal




More information about the libvir-list mailing list