Marc-André Lureau | ab31805 | 2019-07-24 19:23:16 +0400 | [diff] [blame] | 1 | softmmu_ss.add([files( |
| 2 | 'cryptodev-builtin.c', |
| 3 | 'cryptodev.c', |
| 4 | 'hostmem-ram.c', |
| 5 | 'hostmem.c', |
| 6 | 'rng-builtin.c', |
| 7 | 'rng-egd.c', |
| 8 | 'rng.c', |
David Gibson | f91f9f2 | 2020-05-05 17:00:30 +1000 | [diff] [blame] | 9 | 'confidential-guest-support.c', |
Marc-André Lureau | ab31805 | 2019-07-24 19:23:16 +0400 | [diff] [blame] | 10 | ), numa]) |
| 11 | |
| 12 | softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('rng-random.c')) |
| 13 | softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('hostmem-file.c')) |
| 14 | softmmu_ss.add(when: 'CONFIG_LINUX', if_true: files('hostmem-memfd.c')) |
Paolo Bonzini | 43b6d7e | 2022-04-20 17:34:06 +0200 | [diff] [blame] | 15 | if have_vhost_user |
| 16 | softmmu_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c')) |
| 17 | endif |
Marc-André Lureau | ab31805 | 2019-07-24 19:23:16 +0400 | [diff] [blame] | 18 | softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c')) |
Paolo Bonzini | 43b6d7e | 2022-04-20 17:34:06 +0200 | [diff] [blame] | 19 | if have_vhost_user_crypto |
| 20 | softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c')) |
| 21 | endif |
Paolo Bonzini | 7544060 | 2022-04-20 17:33:44 +0200 | [diff] [blame] | 22 | softmmu_ss.add(when: gio, if_true: files('dbus-vmstate.c')) |
Sean Christopherson | c6c0232 | 2021-07-19 19:21:05 +0800 | [diff] [blame] | 23 | softmmu_ss.add(when: 'CONFIG_SGX', if_true: files('hostmem-epc.c')) |
Marc-André Lureau | ab31805 | 2019-07-24 19:23:16 +0400 | [diff] [blame] | 24 | |
| 25 | subdir('tpm') |