summary refs log tree commit diff stats
path: root/target/arm/arm-qmp-cmds.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-05-22 12:05:31 -0700
committerMarkus Armbruster <armbru@redhat.com>2025-05-28 18:54:18 +0200
commit30fbb258717d81c32f11a0e4b7218442a43c4856 (patch)
tree680f3dbf07aa5b5b272578e37c43001501e84440 /target/arm/arm-qmp-cmds.c
parent7373759583650fff6f724c6c21d4234bf31b2af0 (diff)
downloadfocaccia-qemu-30fbb258717d81c32f11a0e4b7218442a43c4856.tar.gz
focaccia-qemu-30fbb258717d81c32f11a0e4b7218442a43c4856.zip
qapi: expose query-gic-capability command unconditionally
This removes the TARGET_ARM condition from the query-gic-capability
command. This requires providing a QMP command stub for non-ARM targets.
This in turn requires moving the command out of misc-target.json, since
that will trigger symbol poisoning errors when built from target
independent code.

Following the earlier precedent, this creates a misc-arm.json file to
hold this ARM specific command.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20250522190542.588267-5-pierrick.bouvier@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'target/arm/arm-qmp-cmds.c')
-rw-r--r--target/arm/arm-qmp-cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/arm-qmp-cmds.c b/target/arm/arm-qmp-cmds.c
index a1a944adb4..ef18c867ca 100644
--- a/target/arm/arm-qmp-cmds.c
+++ b/target/arm/arm-qmp-cmds.c
@@ -27,7 +27,7 @@
 #include "qapi/visitor.h"
 #include "qapi/qobject-input-visitor.h"
 #include "qapi/qapi-commands-machine-target.h"
-#include "qapi/qapi-commands-misc-target.h"
+#include "qapi/qapi-commands-misc-arm.h"
 #include "qobject/qdict.h"
 #include "qom/qom-qobject.h"