qemu/include/monitor
Paolo Bonzini 467ef823d8 qmp: add filtering of statistics by target vCPU
Introduce a simple filtering of statistics, that allows to retrieve
statistics for a subset of the guest vCPUs.  This will be used for
example by the HMP monitor, in order to retrieve the statistics
for the currently selected CPU.

Example:
{ "execute": "query-stats",
  "arguments": {
    "target": "vcpu",
    "vcpus": [ "/machine/unattached/device[2]",
               "/machine/unattached/device[4]" ] } }

Extracted from a patch by Mark Kanda.

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-06-14 16:50:30 +02:00
..
hmp-target.h mos6522: add "info via" HMP command for debugging 2022-03-09 09:28:28 +00:00
hmp.h monitor: introduce HumanReadableText and HMP support 2021-11-02 15:55:13 +00:00
monitor.h Move error_printf_unless_qmp() with monitor unit 2022-04-21 17:09:09 +04:00
qdev.h qdev: Base object creation on QDict rather than QemuOpts 2021-10-15 16:11:22 +02:00
stats.h qmp: add filtering of statistics by target vCPU 2022-06-14 16:50:30 +02:00