mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
a9e271ec9b
Whether the VFIO device supports migration or not is decided based of migration region query. If migration region query is successful and migration region initialization is successful then migration is supported else migration is blocked. Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com> Reviewed-by: Neo Jia <cjia@nvidia.com> Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
20 lines
654 B
Meson
20 lines
654 B
Meson
vfio_ss = ss.source_set()
|
|
vfio_ss.add(files(
|
|
'common.c',
|
|
'spapr.c',
|
|
'migration.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)
|