qemu/hw/vfio
Eric Auger e08041ece7 vfio/ccw: Use vfio_[attach/detach]_device
Let the vfio-ccw device use vfio_attach_device() and
vfio_detach_device(), hence hiding the details of the used
IOMMU backend.

Note that the migration reduces the following trace
"vfio: subchannel %s has already been attached" (featuring
cssid.ssid.devid) into "device is already attached"

Also now all the devices have been migrated to use the new
vfio_attach_device/vfio_detach_device API, let's turn the
legacy functions into static functions, local to container.c.

Signed-off-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>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2023-10-18 10:10:49 +02:00
..
amd-xgbe.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ap.c vfio/ap: Use vfio_[attach/detach]_device 2023-10-18 10:10:49 +02:00
calxeda-xgmac.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ccw.c vfio/ccw: Use vfio_[attach/detach]_device 2023-10-18 10:10:49 +02:00
common.c vfio/ccw: Use vfio_[attach/detach]_device 2023-10-18 10:10:49 +02:00
display.c vfio/display: Fix missing update to set backing fields 2023-10-05 22:04:51 +02:00
helpers.c vfio/common: Move IOMMU agnostic helpers to a separate file 2023-10-18 10:10:49 +02:00
igd.c *: Add missing includes of qemu/error-report.h 2023-03-22 15:06:57 +00:00
Kconfig hw/vfio: Move the IGD quirk code to a separate file 2020-02-06 11:55:42 -07:00
meson.build vfio/common: Move IOMMU agnostic helpers to a separate file 2023-10-18 10:10:49 +02:00
migration.c vfio/migration: Block VFIO migration with background snapshot 2023-09-11 08:34:06 +02:00
pci-quirks.c spapr: Remove support for NVIDIA V100 GPU with NVLink2 2023-09-18 07:25:28 -03:00
pci.c vfio/pci: Introduce vfio_[attach/detach]_device 2023-10-18 10:10:49 +02:00
pci.h vfio/pci: detect the support of dynamic MSI-X allocation 2023-10-05 22:04:51 +02:00
platform.c vfio/platform: Use vfio_[attach/detach]_device 2023-10-18 10:10:49 +02:00
spapr.c Replace qemu_real_host_page variables with inlined functions 2022-04-06 10:50:38 +02:00
trace-events vfio/platform: Use vfio_[attach/detach]_device 2023-10-18 10:10:49 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00