summary refs log tree commit diff stats
path: root/hmp-commands-info.hx
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-06-17 14:44:14 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-07-15 19:34:33 +0200
commitc10eb740108c24c65f049e5ae85ed10b2779e75d (patch)
tree99de4a1b8bf2ba6abe309fef08390f037641da22 /hmp-commands-info.hx
parent1861993f1fc13e42afed6a618c45a5a95a1457ea (diff)
downloadfocaccia-qemu-c10eb740108c24c65f049e5ae85ed10b2779e75d.tar.gz
focaccia-qemu-c10eb740108c24c65f049e5ae85ed10b2779e75d.zip
accel/system: Add 'info accel' on human monitor
'info accel' dispatches to the AccelOpsClass::get_stats()
and get_vcpu_stats() handlers.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20250715140048.84942-5-philmd@linaro.org>
Diffstat (limited to 'hmp-commands-info.hx')
-rw-r--r--hmp-commands-info.hx12
1 files changed, 12 insertions, 0 deletions
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
index d797922275..6142f60e7b 100644
--- a/hmp-commands-info.hx
+++ b/hmp-commands-info.hx
@@ -267,6 +267,18 @@ ERST
         .cmd        = hmp_info_sync_profile,
     },
 
+    {
+        .name       = "accel",
+        .args_type  = "",
+        .params     = "",
+        .help       = "show accelerator info",
+    },
+
+SRST
+  ``info accel``
+    Show accelerator info.
+ERST
+
 SRST
   ``info sync-profile [-m|-n]`` [*max*]
     Show synchronization profiling info, up to *max* entries (default: 10),