]> git.proxmox.com Git - mirror_qemu.git/commit - tcg/tcg.c
qapi: introduce x-query-opcount QMP command
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 8 Sep 2021 09:35:43 +0000 (10:35 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 2 Nov 2021 15:57:20 +0000 (15:57 +0000)
commitb6a7f3e0d28248861cf46f59521129b179e8748d
treeaefe07c3e0be5d697fd4c754d0cd85d2699472c8
parent3a841ab53f165910224dc4bebabf1a8f1d04200c
qapi: introduce x-query-opcount QMP command

This is a counterpart to the HMP "info opcount" command. It is being
added with an "x-" prefix because this QMP command is intended as an
ad hoc debugging tool and will thus not be modelled in QAPI as fully
structured data, nor will it have long term guaranteed stability.
The existing HMP command is rewritten to call the QMP command.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
accel/tcg/cpu-exec.c
accel/tcg/hmp.c
accel/tcg/translate-all.c
include/exec/cpu-all.h
include/tcg/tcg.h
qapi/machine.json
tcg/tcg.c
tests/qtest/qmp-cmd-test.c