[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] monitor, kvm: support for boolean statistics
From: |
Paolo Bonzini |
Subject: |
[PATCH 0/2] monitor, kvm: support for boolean statistics |
Date: |
Fri, 15 Jul 2022 19:02:47 +0200 |
Some statistics exported by KVM only ever have a 0 or 1 value, and Linux has
grown the ability to mark them as such. Bring it over to the new statistics
subsystem of QEMU: they will be presented to QAPI clients as JSON booleans, and
in HMP as "yes"/"no".
(This was proposed in the context of the Libvirt query-stats GSoC project,
and support will be in Linux 5.19-rc7).
Paolo
Paolo Bonzini (2):
monitor: add support for boolean statistics
kvm: add support for boolean statistics
accel/kvm/kvm-all.c | 10 +++++++++-
linux-headers/linux/kvm.h | 1 +
monitor/hmp-cmds.c | 2 ++
qapi/stats.json | 4 +++-
4 files changed, 15 insertions(+), 2 deletions(-)
--
2.36.1
- [PATCH 0/2] monitor, kvm: support for boolean statistics,
Paolo Bonzini <=