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
..
2023-10-05 09:01:01 -04:00
2023-10-03 07:43:44 -04:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-10-16 12:36:55 -04:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-10-05 09:01:01 -04:00
2023-09-06 11:14:55 -04:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-09-20 07:54:34 +03:00
2023-10-13 13:56:28 +09:00
2023-10-17 10:05:51 -04:00
2023-09-08 13:08:52 +03:00