diff options
author | Eric Auger <eric.auger@redhat.com> | 2023-10-09 11:09:11 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2023-10-18 10:10:49 +0200 |
commit | c95d128ee3cf3319c9b40b550eac8df3f86fa410 (patch) | |
tree | 6a33e69ab4acab2c7073d4339f0a7059f4661730 /scripts/qapi | |
parent | da5ed43299bb5d99ffea819b8a3c3629005ea9fd (diff) | |
download | qemu-c95d128ee3cf3319c9b40b550eac8df3f86fa410.zip qemu-c95d128ee3cf3319c9b40b550eac8df3f86fa410.tar.gz qemu-c95d128ee3cf3319c9b40b550eac8df3f86fa410.tar.bz2 |
vfio/ap: Use vfio_[attach/detach]_device
Let the vfio-ap device use vfio_attach_device() and
vfio_detach_device(), hence hiding the details of the used
IOMMU backend.
We take the opportunity to use g_path_get_basename() which
is prefered, as suggested by
3e015d815b ("use g_path_get_basename instead of basename")
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>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions