diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-02-23 16:55:40 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-03-02 07:51:33 +0100 |
commit | 0f3fea217164e3925db91d46f21fc9fa11708e66 (patch) | |
tree | 7a34f9b494596f7d94bb628fc66679a40f15e93f /configure | |
parent | 381b43f85508e7283442c13fb31728103b0b4d2b (diff) | |
download | qemu-0f3fea217164e3925db91d46f21fc9fa11708e66.zip qemu-0f3fea217164e3925db91d46f21fc9fa11708e66.tar.gz qemu-0f3fea217164e3925db91d46f21fc9fa11708e66.tar.bz2 |
target/ppc: 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.
Move the QMP functions from cpu_init.c (which is always compiled)
to monitor.c (which is only compiled when system-emulation
is selected). Rename monitor.c to arm-qmp-cmds.c.
Note ppc_cpu_class_by_name() is used by both file units, so we
expose its prototype in "cpu-qom.h".
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20230223155540.30370-5-philmd@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions