@samitouri / QOSamiQemu / commits / 4a7ba5ce3a

monitor/meson: Use SPICE with migration HMP commands

When moving code around in commit 27be86351ec ("migration: Move the QMP command from monitor/ to migration/") we forgot to update the meson rule about SPICE pkg-config flags. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20260427080738.77138-7-philmd@linaro.org>

Philippe Mathieu-Daudé committed Apr 10, 2026 at 01:09 UTC 4a7ba5ce3a299b8086b8fb0712aaba807357c604
2 files changed +3 -3
migration/meson.build
+1 -1
@@ -23,7 +23,6 @@ system_ss.add(files(
23 'fd.c',
24 'file.c',
25 'global_state.c',
26 - 'migration-hmp-cmds.c',
26 'migration.c',
27 'multifd.c',
28 'multifd-device-state.c',
@@ -37,6 +36,7 @@ system_ss.add(files(
36 'socket.c',
37 'tls.c',
38 ), gnutls, zlib)
39 +system_ss.add([spice_headers, files('migration-hmp-cmds.c'), spice])
40
41 if get_option('replication').allowed()
42 system_ss.add(files('colo-failover.c', 'colo.c', 'multifd-colo.c'))
monitor/meson.build
+2 -2
@@ -5,8 +5,8 @@ system_ss.add(files(
5 'hmp-cmds.c',
6 'hmp.c',
7 'qemu-config-qmp.c',
8 + 'qmp-cmds.c',
9 ))
9 -system_ss.add([spice_headers, files('qmp-cmds.c')])
10
11 specific_ss.add(when: 'CONFIG_SYSTEM_ONLY',
12 - if_true: [files('hmp-target.c'), spice])
12 + if_true: [files('hmp-target.c')])