Re: [PATCH v5 13/20] vfio/ap: Allow the selection of a given iommu backend

2023-11-09 Thread Matthew Rosato
On 11/9/23 6:45 AM, Zhenzhong Duan wrote: > Now we support two types of iommu backends, let's add the capability > to select one of them. This depends on whether an iommufd object has > been linked with the vfio-ap device: > > if the user wants to use the legacy backend, it shall not > link the vf

[PATCH v5 13/20] vfio/ap: Allow the selection of a given iommu backend

2023-11-09 Thread Zhenzhong Duan
Now we support two types of iommu backends, let's add the capability to select one of them. This depends on whether an iommufd object has been linked with the vfio-ap device: if the user wants to use the legacy backend, it shall not link the vfio-ap device with any iommufd object: -device vfio-a