Re: [PATCH v6 16/21] vfio/ccw: Allow the selection of a given iommu backend

2023-11-15 Thread Eric Farman
On Tue, 2023-11-14 at 18:09 +0800, 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-ccw device: > > If the user wants to use the legacy backend, it shall n

Re: [PATCH v6 16/21] vfio/ccw: Allow the selection of a given iommu backend

2023-11-14 Thread Cédric Le Goater
On 11/14/23 11:09, 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-ccw device: If the user wants to use the legacy backend, it shall not link the vfio-ccw dev

[PATCH v6 16/21] vfio/ccw: Allow the selection of a given iommu backend

2023-11-14 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-ccw device: If the user wants to use the legacy backend, it shall not link the vfio-ccw device with any iommufd object: -device vfio