qemu-e2k/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-cmds.c migration: Add zero-copy-send parameter for QMP/HMP for Linux 2022-05-16 13:56:24 +01:00
hmp.c compiler.h: replace QEMU_NORETURN with G_NORETURN 2022-04-21 17:03:51 +04:00
meson.build meson: add spice_headers dependency. 2020-10-15 11:14:40 +02:00
misc.c mos6522: fix linking error when CONFIG_MOS6522 is not set 2022-05-26 17:11:32 -03:00
monitor-internal.h monitor/hmp: add support for flag argument with value 2022-03-02 18:12:40 +00:00
monitor.c Move error_printf_unless_qmp() with monitor unit 2022-04-21 17:09:09 +04:00
qmp-cmds-control.c qapi: Implement deprecated-output=hide for QMP introspection 2021-03-19 16:05:11 +01:00
qmp-cmds.c qmp: add filtering of statistics by target vCPU 2022-06-14 16:50:30 +02:00
qmp.c monitor/qmp: fix race on CHR_EVENT_CLOSED without OOB 2021-05-12 17:29:11 +02:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h