Re: [PATCH 11/14] vfio: clean up the check for mediated device in vfio_iommu_type1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 17, 2021 at 04:49:41AM +0000, Tian, Kevin wrote:
> > You just use the new style mdev API and directly call
> > vfio_register_group_dev and it will pick up the
> > parent->dev->iommu_group naturally like everything else using physical
> > iommu groups.
> > 
> 
> For above usage (wrap pdev into mdev), isn't the right way to directly add 
> vendor vfio-pci driver since vfio-pci-core has been split out now? It's not 
> necessary to fake a mdev just for adding some mediation in the r/w path...

Exactly.

> Another type of IOMMU-backed mdev is with pasid support. But for this
> case we discussed earlier that it doesn't have group and will follow the
> new /dev/iommu proposal instead.

Indeed.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux