diff options
author | Daniel P. Berrangé | 2021-09-08 11:35:43 +0200 |
---|---|---|
committer | Daniel P. Berrangé | 2021-11-02 16:55:14 +0100 |
commit | 37087fde0e6b81bdc6aefb1cd6289d90b2095ec0 (patch) | |
tree | e21afc9fb6d30349ffc0cc514683970fdfae8f11 /qapi/machine.json | |
parent | qapi: introduce x-query-roms QMP command (diff) | |
download | qemu-37087fde0e6b81bdc6aefb1cd6289d90b2095ec0.tar.gz qemu-37087fde0e6b81bdc6aefb1cd6289d90b2095ec0.tar.xz qemu-37087fde0e6b81bdc6aefb1cd6289d90b2095ec0.zip |
qapi: introduce x-query-profile QMP command
This is a counterpart to the HMP "info profile" command. It is being
added with an "x-" prefix because this QMP command is intended as an
adhoc 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>
Diffstat (limited to 'qapi/machine.json')
-rw-r--r-- | qapi/machine.json | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qapi/machine.json b/qapi/machine.json index 26d4ef8195..73ff4bc168 100644 --- a/qapi/machine.json +++ b/qapi/machine.json @@ -1413,6 +1413,18 @@ '*maxcpus': 'int' } } ## +# @x-query-profile: +# +# Query TCG profiling information +# +# Returns: profile information +# +# Since: 6.2 +## +{ 'command': 'x-query-profile', + 'returns': 'HumanReadableText' } + +## # @x-query-roms: # # Query information on the registered ROMS |