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 | ca411b7c8a230af7e83bcebda88b265335f0e4f8 (patch) | |
tree | d9169fee7dddd9b6869cfb4eeacfd91ea0983d87 /qapi | |
parent | qapi: introduce x-query-rdma QMP command (diff) | |
download | qemu-ca411b7c8a230af7e83bcebda88b265335f0e4f8.tar.gz qemu-ca411b7c8a230af7e83bcebda88b265335f0e4f8.tar.xz qemu-ca411b7c8a230af7e83bcebda88b265335f0e4f8.zip |
qapi: introduce x-query-ramblock QMP command
This is a counterpart to the HMP "info ramblock" 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')
-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 1b2748c77a..be81170c2b 100644 --- a/qapi/machine.json +++ b/qapi/machine.json @@ -1437,6 +1437,18 @@ 'returns': 'HumanReadableText' } ## +# @x-query-ramblock: +# +# Query system ramblock information +# +# Returns: system ramblock information +# +# Since: 6.2 +## +{ 'command': 'x-query-ramblock', + 'returns': 'HumanReadableText' } + +## # @x-query-rdma: # # Query RDMA state |