5ee3dc7af7
The iommufd backend is implemented based on the new /dev/iommu user API. This backend obviously depends on CONFIG_IOMMUFD. So far, the iommufd backend doesn't support dirty page sync yet. Co-authored-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Yi Liu <yi.l.liu@intel.com> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Tested-by: Eric Auger <eric.auger@redhat.com> Tested-by: Nicolin Chen <nicolinc@nvidia.com> Signed-off-by: Cédric Le Goater <clg@redhat.com>
26 lines
778 B
Meson
26 lines
778 B
Meson
vfio_ss = ss.source_set()
|
|
vfio_ss.add(files(
|
|
'helpers.c',
|
|
'common.c',
|
|
'container-base.c',
|
|
'container.c',
|
|
'spapr.c',
|
|
'migration.c',
|
|
))
|
|
vfio_ss.add(when: 'CONFIG_IOMMUFD', if_true: files(
|
|
'iommufd.c',
|
|
))
|
|
vfio_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files(
|
|
'display.c',
|
|
'pci-quirks.c',
|
|
'pci.c',
|
|
))
|
|
vfio_ss.add(when: 'CONFIG_VFIO_CCW', if_true: files('ccw.c'))
|
|
vfio_ss.add(when: 'CONFIG_VFIO_PLATFORM', if_true: files('platform.c'))
|
|
vfio_ss.add(when: 'CONFIG_VFIO_XGMAC', if_true: files('calxeda-xgmac.c'))
|
|
vfio_ss.add(when: 'CONFIG_VFIO_AMD_XGBE', if_true: files('amd-xgbe.c'))
|
|
vfio_ss.add(when: 'CONFIG_VFIO_AP', if_true: files('ap.c'))
|
|
vfio_ss.add(when: 'CONFIG_VFIO_IGD', if_true: files('igd.c'))
|
|
|
|
specific_ss.add_all(when: 'CONFIG_VFIO', if_true: vfio_ss)
|