2019-07-24 17:23:16 +02:00
|
|
|
softmmu_ss.add([files(
|
|
|
|
'cryptodev-builtin.c',
|
2023-03-01 11:58:42 +01:00
|
|
|
'cryptodev-hmp-cmds.c',
|
2019-07-24 17:23:16 +02:00
|
|
|
'cryptodev.c',
|
|
|
|
'hostmem-ram.c',
|
|
|
|
'hostmem.c',
|
|
|
|
'rng-builtin.c',
|
|
|
|
'rng-egd.c',
|
|
|
|
'rng.c',
|
2020-05-05 09:00:30 +02:00
|
|
|
'confidential-guest-support.c',
|
2019-07-24 17:23:16 +02:00
|
|
|
), numa])
|
|
|
|
|
|
|
|
softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('rng-random.c'))
|
|
|
|
softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('hostmem-file.c'))
|
|
|
|
softmmu_ss.add(when: 'CONFIG_LINUX', if_true: files('hostmem-memfd.c'))
|
2022-10-08 10:50:30 +02:00
|
|
|
if keyutils.found()
|
|
|
|
softmmu_ss.add(keyutils, files('cryptodev-lkcf.c'))
|
|
|
|
endif
|
2022-04-20 17:34:06 +02:00
|
|
|
if have_vhost_user
|
|
|
|
softmmu_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c'))
|
|
|
|
endif
|
2019-07-24 17:23:16 +02:00
|
|
|
softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c'))
|
2022-04-20 17:34:06 +02:00
|
|
|
if have_vhost_user_crypto
|
|
|
|
softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c'))
|
|
|
|
endif
|
2022-04-20 17:33:44 +02:00
|
|
|
softmmu_ss.add(when: gio, if_true: files('dbus-vmstate.c'))
|
2021-07-19 13:21:05 +02:00
|
|
|
softmmu_ss.add(when: 'CONFIG_SGX', if_true: files('hostmem-epc.c'))
|
2019-07-24 17:23:16 +02:00
|
|
|
|
|
|
|
subdir('tpm')
|