mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00

Add basic types and flags used by VFIO multifd device state transfer support. Since we'll be introducing a lot of multifd transfer specific code, add a new file migration-multifd.c to home it, wired into main VFIO migration code (migration.c) via migration-multifd.h header file. Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/4eedd529e6617f80f3d6a66d7268a0db2bc173fa.1741124640.git.maciej.szmigiero@oracle.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
27 lines
864 B
Meson
27 lines
864 B
Meson
vfio_ss = ss.source_set()
|
|
vfio_ss.add(files(
|
|
'helpers.c',
|
|
'common.c',
|
|
'container-base.c',
|
|
'container.c',
|
|
'migration.c',
|
|
'migration-multifd.c',
|
|
'cpr.c',
|
|
))
|
|
vfio_ss.add(when: 'CONFIG_PSERIES', if_true: files('spapr.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)
|