]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/s390x: Do not compile KVM stubs for linux-user binary
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 22 Apr 2026 19:31:10 +0000 (21:31 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 6 May 2026 14:10:46 +0000 (16:10 +0200)
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>

target/s390x/kvm/meson.build

index 588a9aa737e809a037796ca33a2edd99ce5c0f53..437e12f221fd036124e40ba22369b9f116b8763d 100644 (file)
@@ -1,5 +1,5 @@
 
-s390x_ss.add(when: 'CONFIG_KVM', if_true: files(
+s390x_system_ss.add(when: 'CONFIG_KVM', if_true: files(
   'pv.c',
   'kvm.c',
   'stsi-topology.c'