1de6cd759SPhilippe Mathieu-Daudésystem_ss.add([files( 2ab318051SMarc-André Lureau 'cryptodev-builtin.c', 3ef52091aSzhenwei pi 'cryptodev-hmp-cmds.c', 4ab318051SMarc-André Lureau 'cryptodev.c', 5ab318051SMarc-André Lureau 'hostmem-ram.c', 6ab318051SMarc-André Lureau 'hostmem.c', 7ab318051SMarc-André Lureau 'rng-builtin.c', 8ab318051SMarc-André Lureau 'rng-egd.c', 9ab318051SMarc-André Lureau 'rng.c', 10f91f9f25SDavid Gibson 'confidential-guest-support.c', 11ab318051SMarc-André Lureau), numa]) 12ab318051SMarc-André Lureau 13d0cda6f4SPaolo Bonziniif host_os != 'windows' 14dc495494SPaolo Bonzini system_ss.add(files('rng-random.c')) 15dc495494SPaolo Bonzini system_ss.add(files('hostmem-file.c')) 16dc495494SPaolo Bonziniendif 17d0cda6f4SPaolo Bonziniif host_os == 'linux' 1853e8868dSPaolo Bonzini system_ss.add(files('hostmem-memfd.c')) 19*1f94b218SZhenzhong Duan system_ss.add(files('host_iommu_device.c')) 2053e8868dSPaolo Bonziniendif 2139fff6f3SLei Heif keyutils.found() 22de6cd759SPhilippe Mathieu-Daudé system_ss.add(keyutils, files('cryptodev-lkcf.c')) 2339fff6f3SLei Heendif 2443b6d7eeSPaolo Bonziniif have_vhost_user 25de6cd759SPhilippe Mathieu-Daudé system_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c')) 2643b6d7eeSPaolo Bonziniendif 27de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c')) 286e6d8ac6SEric Augersystem_ss.add(when: 'CONFIG_IOMMUFD', if_true: files('iommufd.c')) 2943b6d7eeSPaolo Bonziniif have_vhost_user_crypto 30de6cd759SPhilippe Mathieu-Daudé system_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c')) 3143b6d7eeSPaolo Bonziniendif 32de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: gio, if_true: files('dbus-vmstate.c')) 33de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_SGX', if_true: files('hostmem-epc.c')) 34ab318051SMarc-André Lureau 35ab318051SMarc-André Lureausubdir('tpm') 36