]> git.proxmox.com Git - mirror_qemu.git/commit
accel/tcg: Restrict 'qapi-commands-machine.h' to system emulation
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 19 Dec 2022 17:09:40 +0000 (18:09 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:01 +0000 (22:29 +0100)
commit00c9a5c2c3155e82b2dbf874d84cd2a2061b804c
tree6e38bf726e769abc6c240d0c09b9aca8f16c77b6
parent1398e1b80e4473e880627a878bca524db7420cc4
accel/tcg: 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.

Rename 'hmp.c' as 'monitor.c' and move the QMP functions from
cpu-exec.c (which is always compiled) to monitor.c (which is only
compiled when system-emulation is selected).

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221219170806.60580-4-philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
accel/tcg/cpu-exec.c
accel/tcg/hmp.c [deleted file]
accel/tcg/internal.h
accel/tcg/meson.build
accel/tcg/monitor.c [new file with mode: 0644]