hw/intc: Introduce x-query-interrupt-controllers QMP command
This is a counterpart to the HMP "info pic" 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. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20240610063518.50680-3-philmd@linaro.org>
This commit is contained in:
parent
b2580720d0
commit
795eaa62fa
4 changed files with 47 additions and 34 deletions
|
|
@ -174,7 +174,7 @@ ERST
|
|||
.args_type = "",
|
||||
.params = "",
|
||||
.help = "show PIC state",
|
||||
.cmd = hmp_info_pic,
|
||||
.cmd_info_hrt = qmp_x_query_interrupt_controllers,
|
||||
},
|
||||
|
||||
SRST
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue