Commit 35f797739b for qemu.org
commit 35f797739bf36bfc9122c5eef43696cc7aa4931e
Author: Philippe Mathieu-Daudé <philmd@linaro.org>
Date: Wed Feb 25 06:01:45 2026 +0100
accel/mshv: Build without target-specific knowledge
Code in accel/ aims to be target-agnostic. Enforce that
by moving the MSHV file units to system_ss[], which is
target-agnostic.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20260225051303.91614-4-philmd@linaro.org>
diff --git a/accel/mshv/meson.build b/accel/mshv/meson.build
index d3a2b32581..c1b1787c5e 100644
--- a/accel/mshv/meson.build
+++ b/accel/mshv/meson.build
@@ -1,9 +1,6 @@
-mshv_ss = ss.source_set()
-mshv_ss.add(if_true: files(
+system_ss.add(when: 'CONFIG_MSHV', if_true: files(
'irq.c',
'mem.c',
'msr.c',
'mshv-all.c'
))
-
-specific_ss.add_all(when: 'CONFIG_MSHV', if_true: mshv_ss)