aboutsummaryrefslogtreecommitdiff
path: root/cpu-common.c
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2023-10-09 11:09:11 +0200
committerCédric Le Goater <clg@redhat.com>2023-10-18 10:10:49 +0200
commitc95d128ee3cf3319c9b40b550eac8df3f86fa410 (patch)
tree6a33e69ab4acab2c7073d4339f0a7059f4661730 /cpu-common.c
parentda5ed43299bb5d99ffea819b8a3c3629005ea9fd (diff)
downloadqemu-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 'cpu-common.c')
0 files changed, 0 insertions, 0 deletions