summary refs log tree commit diff stats
path: root/include/hw/xen/interface/xen-compat.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-23 16:55:39 +0100
committerMarkus Armbruster <armbru@redhat.com>2023-03-02 07:51:33 +0100
commit381b43f85508e7283442c13fb31728103b0b4d2b (patch)
treef5d7e623f066e38c807b5f678184d7b887a09e98 /include/hw/xen/interface/xen-compat.h
parent390dbc6e2e08c30b95597371b9fc74f6157e8d0e (diff)
downloadfocaccia-qemu-381b43f85508e7283442c13fb31728103b0b4d2b.tar.gz
focaccia-qemu-381b43f85508e7283442c13fb31728103b0b4d2b.zip
target/loongarch: 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.

Extract the QMP functions from cpu.c (which is always compiled)
to the new 'loongarch-qmp-cmds.c' unit (which is only compiled
when system emulation is selected).

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230223155540.30370-4-philmd@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/hw/xen/interface/xen-compat.h')
0 files changed, 0 insertions, 0 deletions