Messages in this thread | ![/](/images/icornerl.gif) | | From | Jason Wang <> | Date | Mon, 6 Nov 2023 15:27:38 +0800 | Subject | Re: [RFC v1 3/8] vhost: Add 3 new uapi to support iommufd |
| |
On Sat, Nov 4, 2023 at 1:17 AM Cindy Lu <lulu@redhat.com> wrote: > > VHOST_VDPA_SET_IOMMU_FD: bind the device to iommufd device > > VDPA_DEVICE_ATTACH_IOMMUFD_AS: Attach a vdpa device to an iommufd > address space specified by IOAS id. > > VDPA_DEVICE_DETACH_IOMMUFD_AS: Detach a vdpa device > from the iommufd address space > > Signed-off-by: Cindy Lu <lulu@redhat.com>
As discussed in the previous version, any reason/advantages of this compared to just having a single VDPA_DEVICE_ATTACH_IOMMUFD_AS?
Thanks
| ![\](/images/icornerr.gif) |