mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
target/arm: Restrict 'qapi-commands-machine.h' to system emulation
Since commita0e61807a3
("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 helper.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. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230223155540.30370-2-philmd@linaro.org> Signed-off-by: Markus Armbruster <armbru@redhat.com> [Straightforward conflict with commit9def656e7a
resolved]
This commit is contained in:
parent
76f5801a83
commit
3362f04dbc
3 changed files with 29 additions and 30 deletions
|
@ -20,8 +20,8 @@ arm_softmmu_ss = ss.source_set()
|
|||
arm_softmmu_ss.add(files(
|
||||
'arch_dump.c',
|
||||
'arm-powerctl.c',
|
||||
'arm-qmp-cmds.c',
|
||||
'machine.c',
|
||||
'monitor.c',
|
||||
'ptw.c',
|
||||
))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue