All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Support fd-based KVM stats
@ 2022-02-15 15:04 Mark Kanda
  2022-02-15 15:04 ` [PATCH v4 1/3] qmp: Support for querying stats Mark Kanda
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Mark Kanda @ 2022-02-15 15:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, berrange, armbru

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")

v4:
- revise and cleanup the API [Daniel, Paolo]
- filtering for multiple providers [Daniel]
- cache KVM stat descriptors [Paolo]
- use g_autofree and other cleanup [Daniel]

v3:
- various QMP API enhancements from review [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)

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     | 393 ++++++++++++++++++++++++++++++++++++++++
 hmp-commands-info.hx    |  28 +++
 include/monitor/hmp.h   |   2 +
 include/monitor/stats.h |  51 ++++++
 monitor/hmp-cmds.c      | 328 +++++++++++++++++++++++++++++++++
 monitor/qmp-cmds.c      | 219 ++++++++++++++++++++++
 qapi/meson.build        |   1 +
 qapi/qapi-schema.json   |   1 +
 qapi/stats.json         | 259 ++++++++++++++++++++++++++
 9 files changed, 1282 insertions(+)
 create mode 100644 include/monitor/stats.h
 create mode 100644 qapi/stats.json

-- 
2.27.0



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-03-21 15:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-15 15:04 [PATCH v4 0/3] Support fd-based KVM stats Mark Kanda
2022-02-15 15:04 ` [PATCH v4 1/3] qmp: Support for querying stats Mark Kanda
2022-03-11 13:06   ` Markus Armbruster
2022-03-11 13:12     ` Daniel P. Berrangé
2022-03-14 17:28     ` Mark Kanda
2022-03-21 13:50       ` Markus Armbruster
2022-03-21 14:55         ` Paolo Bonzini
2022-03-21 15:18           ` Mark Kanda
2022-02-15 15:04 ` [PATCH v4 2/3] hmp: " Mark Kanda
2022-02-15 15:04 ` [PATCH v4 3/3] kvm: Support for querying fd-based stats Mark Kanda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.