blob: b1884a88ec8cc00fb189aa6e1eca49f73825c1b4 [file] [log] [blame]
Marc-André Lureauab318052019-07-24 19:23:16 +04001softmmu_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 Gibsonf91f9f22020-05-05 17:00:30 +10009 'confidential-guest-support.c',
Marc-André Lureauab318052019-07-24 19:23:16 +040010), numa])
11
12softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('rng-random.c'))
13softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('hostmem-file.c'))
14softmmu_ss.add(when: 'CONFIG_LINUX', if_true: files('hostmem-memfd.c'))
Paolo Bonzini43b6d7e2022-04-20 17:34:06 +020015if have_vhost_user
16 softmmu_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c'))
17endif
Marc-André Lureauab318052019-07-24 19:23:16 +040018softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c'))
Paolo Bonzini43b6d7e2022-04-20 17:34:06 +020019if have_vhost_user_crypto
20 softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c'))
21endif
Paolo Bonzini75440602022-04-20 17:33:44 +020022softmmu_ss.add(when: gio, if_true: files('dbus-vmstate.c'))
Sean Christophersonc6c02322021-07-19 19:21:05 +080023softmmu_ss.add(when: 'CONFIG_SGX', if_true: files('hostmem-epc.c'))
Marc-André Lureauab318052019-07-24 19:23:16 +040024
25subdir('tpm')