@samitouri / QOSamiQemu / commits / b482e552d9

target/s390x: Do not compile KVM stubs for linux-user binary

None of these KVM symbols should be used in the qemu-s390x linux-user binary. Do not build the stub there, prefer a real linker failure. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com> Message-Id: <20260423135035.50126-3-philmd@linaro.org>

Philippe Mathieu-Daudé committed Apr 22, 2026 at 21:31 UTC b482e552d932d9fdf428d2e52dce7f8b1d23492a
1 file changed +1 -1
target/s390x/kvm/meson.build
+1 -1
@@ -1,5 +1,5 @@
1
2 -s390x_ss.add(when: 'CONFIG_KVM', if_true: files(
2 +s390x_system_ss.add(when: 'CONFIG_KVM', if_true: files(
3 'pv.c',
4 'kvm.c',
5 'stsi-topology.c'