summaryrefslogtreecommitdiffstats
path: root/qapi
diff options
context:
space:
mode:
authorDaniel P. Berrangé2021-09-08 11:35:43 +0200
committerDaniel P. Berrangé2021-11-02 16:55:14 +0100
commitca411b7c8a230af7e83bcebda88b265335f0e4f8 (patch)
treed9169fee7dddd9b6869cfb4eeacfd91ea0983d87 /qapi
parentqapi: introduce x-query-rdma QMP command (diff)
downloadqemu-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.json12
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