target/s390x/cpu topology: handle STSI(15) and build the SYSIB
[qemu/kevin.git] / target / s390x / kvm / meson.build
blob588a9aa737e809a037796ca33a2edd99ce5c0f53
2 s390x_ss.add(when: 'CONFIG_KVM', if_true: files(
3   'pv.c',
4   'kvm.c',
5   'stsi-topology.c'
6 ), if_false: files(
7   'stubs.c'
8 ))
10 # Newer kernels on s390 check for an S390_PGSTE program header and
11 # enable the pgste page table extensions in that case. This makes
12 # the vm.allocate_pgste sysctl unnecessary. We enable this program
13 # header if
14 #  - we build on s390x
15 #  - we build the system emulation for s390x (qemu-system-s390x)
16 #  - KVM is enabled
17 #  - the linker supports --s390-pgste
18 if host_machine.cpu_family() == 's390x' and cc.has_link_argument('-Wl,--s390-pgste')
19   s390x_system_ss.add(when: 'CONFIG_KVM',
20                        if_true: declare_dependency(link_args: ['-Wl,--s390-pgste']))
21 endif