]> git.proxmox.com Git - mirror_qemu.git/blame - backends/meson.build
backends: Constify VMState
[mirror_qemu.git] / backends / meson.build
CommitLineData
de6cd759 1system_ss.add([files(
ab318051 2 'cryptodev-builtin.c',
ef52091a 3 'cryptodev-hmp-cmds.c',
ab318051
MAL
4 'cryptodev.c',
5 'hostmem-ram.c',
6 'hostmem.c',
7 'rng-builtin.c',
8 'rng-egd.c',
9 'rng.c',
f91f9f25 10 'confidential-guest-support.c',
ab318051
MAL
11), numa])
12
de6cd759
PMD
13system_ss.add(when: 'CONFIG_POSIX', if_true: files('rng-random.c'))
14system_ss.add(when: 'CONFIG_POSIX', if_true: files('hostmem-file.c'))
15system_ss.add(when: 'CONFIG_LINUX', if_true: files('hostmem-memfd.c'))
39fff6f3 16if keyutils.found()
de6cd759 17 system_ss.add(keyutils, files('cryptodev-lkcf.c'))
39fff6f3 18endif
43b6d7ee 19if have_vhost_user
de6cd759 20 system_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c'))
43b6d7ee 21endif
de6cd759 22system_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c'))
6e6d8ac6 23system_ss.add(when: 'CONFIG_IOMMUFD', if_true: files('iommufd.c'))
43b6d7ee 24if have_vhost_user_crypto
de6cd759 25 system_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c'))
43b6d7ee 26endif
de6cd759
PMD
27system_ss.add(when: gio, if_true: files('dbus-vmstate.c'))
28system_ss.add(when: 'CONFIG_SGX', if_true: files('hostmem-epc.c'))
ab318051
MAL
29
30subdir('tpm')