Re: [PATCH v7 8/9] vfio/type1: Add domain at(de)taching group helpers

2019-03-26 Thread Kirti Wankhede
On 2/22/2019 7:49 AM, Lu Baolu wrote: > This adds helpers to attach or detach a domain to a > group. This will replace iommu_attach_group() which > only works for non-mdev devices. > > If a domain is attaching to a group which includes the > mediated devices, it should attach to the iommu devic

[PATCH v7 8/9] vfio/type1: Add domain at(de)taching group helpers

2019-02-21 Thread Lu Baolu
This adds helpers to attach or detach a domain to a group. This will replace iommu_attach_group() which only works for non-mdev devices. If a domain is attaching to a group which includes the mediated devices, it should attach to the iommu device (a pci device which represents the mdev in iommu sc