| 
									
										
										
										
											2023-06-13 15:33:47 +02:00
										 |  |  | system_ss.add([files(
 | 
					
						
							| 
									
										
										
										
											2019-07-24 19:23:16 +04:00
										 |  |  |   'cryptodev-builtin.c',
 | 
					
						
							| 
									
										
										
										
											2023-03-01 18:58:42 +08:00
										 |  |  |   'cryptodev-hmp-cmds.c',
 | 
					
						
							| 
									
										
										
										
											2019-07-24 19:23:16 +04:00
										 |  |  |   'cryptodev.c',
 | 
					
						
							|  |  |  |   'hostmem-ram.c',
 | 
					
						
							|  |  |  |   'hostmem.c',
 | 
					
						
							|  |  |  |   'rng-builtin.c',
 | 
					
						
							|  |  |  |   'rng-egd.c',
 | 
					
						
							|  |  |  |   'rng.c',
 | 
					
						
							| 
									
										
										
										
											2020-05-05 17:00:30 +10:00
										 |  |  |   'confidential-guest-support.c',
 | 
					
						
							| 
									
										
										
										
											2019-07-24 19:23:16 +04:00
										 |  |  | ), numa])
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-03 09:17:48 +01:00
										 |  |  | if host_os != 'windows'
 | 
					
						
							| 
									
										
										
										
											2023-08-30 11:29:54 +02:00
										 |  |  |   system_ss.add(files('rng-random.c'))
 | 
					
						
							|  |  |  |   system_ss.add(files('hostmem-file.c'))
 | 
					
						
							|  |  |  | endif
 | 
					
						
							| 
									
										
										
										
											2023-11-03 09:17:48 +01:00
										 |  |  | if host_os == 'linux'
 | 
					
						
							| 
									
										
										
										
											2023-05-26 12:20:39 +02:00
										 |  |  |   system_ss.add(files('hostmem-memfd.c'))
 | 
					
						
							| 
									
										
										
										
											2024-06-05 16:30:27 +08:00
										 |  |  |   system_ss.add(files('host_iommu_device.c'))
 | 
					
						
							| 
									
										
										
										
											2023-05-26 12:20:39 +02:00
										 |  |  | endif
 | 
					
						
							| 
									
										
										
										
											2022-10-08 16:50:30 +08:00
										 |  |  | if keyutils.found()
 | 
					
						
							| 
									
										
										
										
											2023-06-13 15:33:47 +02:00
										 |  |  |     system_ss.add(keyutils, files('cryptodev-lkcf.c'))
 | 
					
						
							| 
									
										
										
										
											2022-10-08 16:50:30 +08:00
										 |  |  | endif
 | 
					
						
							| 
									
										
										
										
											2022-04-20 17:34:06 +02:00
										 |  |  | if have_vhost_user
 | 
					
						
							| 
									
										
										
										
											2023-06-13 15:33:47 +02:00
										 |  |  |   system_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c'))
 | 
					
						
							| 
									
										
										
										
											2022-04-20 17:34:06 +02:00
										 |  |  | endif
 | 
					
						
							| 
									
										
										
										
											2023-06-13 15:33:47 +02:00
										 |  |  | system_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c'))
 | 
					
						
							| 
									
										
										
										
											2023-11-21 16:44:00 +08:00
										 |  |  | system_ss.add(when: 'CONFIG_IOMMUFD', if_true: files('iommufd.c'))
 | 
					
						
							| 
									
										
										
										
											2022-04-20 17:34:06 +02:00
										 |  |  | if have_vhost_user_crypto
 | 
					
						
							| 
									
										
										
										
											2023-06-13 15:33:47 +02:00
										 |  |  |   system_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c'))
 | 
					
						
							| 
									
										
										
										
											2022-04-20 17:34:06 +02:00
										 |  |  | endif
 | 
					
						
							| 
									
										
										
										
											2023-06-13 15:33:47 +02:00
										 |  |  | system_ss.add(when: gio, if_true: files('dbus-vmstate.c'))
 | 
					
						
							|  |  |  | system_ss.add(when: 'CONFIG_SGX', if_true: files('hostmem-epc.c'))
 | 
					
						
							| 
									
										
										
										
											2019-07-24 19:23:16 +04:00
										 |  |  | 
 | 
					
						
							|  |  |  | subdir('tpm')
 |