Skip to content
Snippets Groups Projects
Commit da5ed432 authored by Eric Auger's avatar Eric Auger Committed by Cédric Le Goater
Browse files

vfio/platform: Use vfio_[attach/detach]_device


Let the vfio-platform device use vfio_attach_device() and
vfio_detach_device(), hence hiding the details of the used
IOMMU backend.

Drop the trace event for vfio-platform as we have similar
one in vfio_attach_device.

Signed-off-by: default avatarEric Auger <eric.auger@redhat.com>
Signed-off-by: default avatarYi Liu <yi.l.liu@intel.com>
Signed-off-by: default avatarZhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: default avatarCédric Le Goater <clg@redhat.com>
Signed-off-by: default avatarCédric Le Goater <clg@redhat.com>
parent 5456b186
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment