mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-31 14:23:53 -06:00

We use the user_ss[] array to hold the user emulation sources, and the softmmu_ss[] array to hold the system emulation ones. Hold the latter in the 'system_ss[]' array for parity with user emulation. Mechanical change doing: $ sed -i -e s/softmmu_ss/system_ss/g $(git grep -l softmmu_ss) Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230613133347.82210-10-philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
19 lines
672 B
Meson
19 lines
672 B
Meson
|
|
s390x_ss.add(when: 'CONFIG_KVM', if_true: files(
|
|
'kvm.c'
|
|
), if_false: files(
|
|
'stubs.c'
|
|
))
|
|
|
|
# Newer kernels on s390 check for an S390_PGSTE program header and
|
|
# enable the pgste page table extensions in that case. This makes
|
|
# the vm.allocate_pgste sysctl unnecessary. We enable this program
|
|
# header if
|
|
# - we build on s390x
|
|
# - we build the system emulation for s390x (qemu-system-s390x)
|
|
# - KVM is enabled
|
|
# - the linker supports --s390-pgste
|
|
if host_machine.cpu_family() == 's390x' and cc.has_link_argument('-Wl,--s390-pgste')
|
|
s390x_system_ss.add(when: 'CONFIG_KVM',
|
|
if_true: declare_dependency(link_args: ['-Wl,--s390-pgste']))
|
|
endif
|