1ab318051SMarc-André Lureausoftmmu_ss.add([files( 2ab318051SMarc-André Lureau 'cryptodev-builtin.c', 3*ef52091aSzhenwei 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 13ab318051SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('rng-random.c')) 14ab318051SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('hostmem-file.c')) 15ab318051SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_LINUX', if_true: files('hostmem-memfd.c')) 1639fff6f3SLei Heif keyutils.found() 1739fff6f3SLei He softmmu_ss.add(keyutils, files('cryptodev-lkcf.c')) 1839fff6f3SLei Heendif 1943b6d7eeSPaolo Bonziniif have_vhost_user 2043b6d7eeSPaolo Bonzini softmmu_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c')) 2143b6d7eeSPaolo Bonziniendif 22ab318051SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c')) 2343b6d7eeSPaolo Bonziniif have_vhost_user_crypto 2443b6d7eeSPaolo Bonzini softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c')) 2543b6d7eeSPaolo Bonziniendif 267544060eSPaolo Bonzinisoftmmu_ss.add(when: gio, if_true: files('dbus-vmstate.c')) 27c6c02320SSean Christophersonsoftmmu_ss.add(when: 'CONFIG_SGX', if_true: files('hostmem-epc.c')) 28ab318051SMarc-André Lureau 29ab318051SMarc-André Lureausubdir('tpm') 30