v3: - various QMP API enhancements from v2 review [1] [Daniel, Paolo, Igor] - general cleanup
v2: [Paolo] - generalize the interface - add support for querying stat schema and instances - add additional HMP semantic processing for a few exponent/unit combinations (related to seconds and bytes) This patchset adds QEMU support for querying fd-based KVM stats. The kernel support was introduced by: cb082bfab59a ("KVM: stats: Add fd-based API to read binary stats data") [1] https://lore.kernel.org/all/20211119195153.11815-1-mark.ka...@oracle.com/ Mark Kanda (3): qmp: Support for querying stats hmp: Support for querying stats kvm: Support for querying fd-based stats accel/kvm/kvm-all.c | 308 ++++++++++++++++++++++++++++++++++++++++ hmp-commands-info.hx | 28 ++++ include/monitor/hmp.h | 2 + include/monitor/stats.h | 36 +++++ monitor/hmp-cmds.c | 288 +++++++++++++++++++++++++++++++++++++ monitor/qmp-cmds.c | 183 ++++++++++++++++++++++++ qapi/misc.json | 253 +++++++++++++++++++++++++++++++++ 7 files changed, 1098 insertions(+) create mode 100644 include/monitor/stats.h -- 2.27.0