mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
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>
This commit is contained in:
parent
ca411b7c8a
commit
91f2fa7045
4 changed files with 57 additions and 39 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue