[Intel-gfx] [PATCH v3 12/12] vfio/pci: Report dev_id in VFIO_DEVICE_GET_PCI_HOT_RESET_INFO
Jason Gunthorpe
jgg at nvidia.com
Mon Apr 24 17:38:26 UTC 2023
On Sun, Apr 23, 2023 at 10:28:58AM +0000, Liu, Yi L wrote:
> This noiommu improvement shall allow user to attach ioas to noiommu devices.
> is it? This may be done by calling iommufd_access_attach(). So there is a
> quick question. In the cdev series, shall we allow the attachment
> for noiommu?
Yes, I think we need to undo the decision we talked about earlier
where no-iommu would be asked for with a -1 iommufd.
All vfio_devices should have an iommufd_ctx when container is compiled
out.
You don't need to do anything with the ctx for no-iommu beyond demand
that userspace provide it.
Jason
More information about the Intel-gfx
mailing list