test/avocado/machine_aspeed.py: Add an I2C RTC test
[qemu.git] / target / s390x / kvm / meson.build
blobd1356356b1f62103e94507c8e6fff1256f320985
2 s390x_ss.add(when: 'CONFIG_KVM', if_true: files(
3   'kvm.c'
4 ))
6 # Newer kernels on s390 check for an S390_PGSTE program header and
7 # enable the pgste page table extensions in that case. This makes
8 # the vm.allocate_pgste sysctl unnecessary. We enable this program
9 # header if
10 #  - we build on s390x
11 #  - we build the system emulation for s390x (qemu-system-s390x)
12 #  - KVM is enabled
13 #  - the linker supports --s390-pgste
14 if host_machine.cpu_family() == 's390x' and cc.has_link_argument('-Wl,--s390-pgste')
15   s390x_softmmu_ss.add(when: 'CONFIG_KVM',
16                        if_true: declare_dependency(link_args: ['-Wl,--s390-pgste']))
17 endif