summaryrefslogtreecommitdiffstats
path: root/hmp-commands-info.hx
diff options
context:
space:
mode:
authorDaniel P. Berrangé2021-09-08 11:35:43 +0200
committerDaniel P. Berrangé2021-11-02 16:57:12 +0100
commit91f2fa7045e3f6c298b14ea7c66c486c27fe3b9f (patch)
treeb284a5b9ab9b4446e1ef43fd408972a308019e8c /hmp-commands-info.hx
parentqapi: introduce x-query-ramblock QMP command (diff)
downloadqemu-91f2fa7045e3f6c298b14ea7c66c486c27fe3b9f.tar.gz
qemu-91f2fa7045e3f6c298b14ea7c66c486c27fe3b9f.tar.xz
qemu-91f2fa7045e3f6c298b14ea7c66c486c27fe3b9f.zip
qapi: introduce x-query-irq QMP command
This is a counterpart to the HMP "info irq" 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 'hmp-commands-info.hx')
-rw-r--r--hmp-commands-info.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
index c2d7275bf5..407a1da800 100644
--- a/hmp-commands-info.hx
+++ b/hmp-commands-info.hx
@@ -159,7 +159,7 @@ ERST
.args_type = "",
.params = "",
.help = "show the interrupts statistics (if available)",
- .cmd = hmp_info_irq,
+ .cmd_info_hrt = qmp_x_query_irq,
},
SRST