mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-30 22:03:54 -06:00

Register a legacy container for cpr-transfer, replacing the generic CPR register call with a more specific legacy container register call. Add a blocker if the kernel does not support VFIO_UPDATE_VADDR or VFIO_UNMAP_ALL. This is mostly boiler plate. The fields to to saved and restored are added in subsequent patches. Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/1749569991-25171-4-git-send-email-steven.sistare@oracle.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
35 lines
1 KiB
Meson
35 lines
1 KiB
Meson
vfio_ss = ss.source_set()
|
|
vfio_ss.add(files(
|
|
'listener.c',
|
|
'container-base.c',
|
|
'container.c',
|
|
'helpers.c',
|
|
))
|
|
vfio_ss.add(when: 'CONFIG_PSERIES', if_true: files('spapr.c'))
|
|
vfio_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files(
|
|
'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_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)
|
|
|
|
system_ss.add(when: 'CONFIG_VFIO_XGMAC', if_true: files('calxeda-xgmac.c'))
|
|
system_ss.add(when: 'CONFIG_VFIO_AMD_XGBE', if_true: files('amd-xgbe.c'))
|
|
system_ss.add(when: 'CONFIG_VFIO', if_true: files(
|
|
'cpr.c',
|
|
'cpr-legacy.c',
|
|
'device.c',
|
|
'migration.c',
|
|
'migration-multifd.c',
|
|
'region.c',
|
|
))
|
|
system_ss.add(when: ['CONFIG_VFIO', 'CONFIG_IOMMUFD'], if_true: files(
|
|
'iommufd.c',
|
|
))
|
|
system_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files(
|
|
'display.c',
|
|
))
|