3df4c28860
QMP is irrelevant for user emulation. Extract the code related to QMP in a different source file, which won't be build for user emulation binaries. This avoid pulling pointless code. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240404194757.9343-5-philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-ID: <20240408155330.522792-7-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
13 lines
310 B
Meson
13 lines
310 B
Meson
qmp_ss.add(files('monitor.c', 'qmp.c', 'qmp-cmds-control.c'))
|
|
|
|
system_ss.add(files(
|
|
'fds.c',
|
|
'hmp-cmds.c',
|
|
'hmp.c',
|
|
'qemu-config-qmp.c',
|
|
))
|
|
system_ss.add([spice_headers, files('qmp-cmds.c')])
|
|
|
|
specific_ss.add(when: 'CONFIG_SYSTEM_ONLY',
|
|
if_true: [files( 'hmp-cmds-target.c', 'hmp-target.c'), spice])
|