diff options
| author | Eric Auger <eric.auger@redhat.com> | 2023-10-09 11:09:12 +0200 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2023-10-18 10:10:49 +0200 |
| commit | e08041ece7392aae895487b97299f33ddc8de131 (patch) | |
| tree | 5f89bc7a4297bd8f7a441d60c5d76b24d0417a9b /scripts/qapi/source.py | |
| parent | c95d128ee3cf3319c9b40b550eac8df3f86fa410 (diff) | |
| download | focaccia-qemu-e08041ece7392aae895487b97299f33ddc8de131.tar.gz focaccia-qemu-e08041ece7392aae895487b97299f33ddc8de131.zip | |
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>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions