summary refs log tree commit diff stats
path: root/hmp-commands-info.hx
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-07 16:37:24 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-19 12:40:49 +0200
commit795eaa62fa68c452b926fbfc4ccdcb4cd1552531 (patch)
treeaf194684c581e81714d591bd1956125d9a459a6e /hmp-commands-info.hx
parentb2580720d026fa1591218468891a47f42be6a335 (diff)
downloadfocaccia-qemu-795eaa62fa68c452b926fbfc4ccdcb4cd1552531.tar.gz
focaccia-qemu-795eaa62fa68c452b926fbfc4ccdcb4cd1552531.zip
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>
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 20a9835ea8..cfd4ad5651 100644
--- a/hmp-commands-info.hx
+++ b/hmp-commands-info.hx
@@ -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