aboutsummaryrefslogtreecommitdiff
path: root/target/loongarch/loongarch-qmp-cmds.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-23 16:55:38 +0100
committerMarkus Armbruster <armbru@redhat.com>2023-03-02 07:51:33 +0100
commit390dbc6e2e08c30b95597371b9fc74f6157e8d0e (patch)
tree47e643bf8ef56940530762fa1f04794dd3707bc5 /target/loongarch/loongarch-qmp-cmds.c
parent3362f04dbc6a66cd8f2c9f218b84c5c9f9559411 (diff)
target/i386: Restrict 'qapi-commands-machine.h' to system emulation
Since commit a0e61807a3 ("qapi: Remove QMP events and commands from user-mode builds") we don't generate the "qapi-commands-machine.h" header in a user-emulation-only build. Guard qmp_query_cpu_definitions() within CONFIG_USER_ONLY; move x86_cpu_class_check_missing_features() closer since it is only used by this QMP command handler. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230223155540.30370-3-philmd@linaro.org> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'target/loongarch/loongarch-qmp-cmds.c')
0 files changed, 0 insertions, 0 deletions