[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
Thu Apr 13 14:41:05 UTC 2023
On Thu, Apr 13, 2023 at 02:35:57PM +0000, Liu, Yi L wrote:
> Today, at least QEMU will not go to do hot-reset if _INFO fails. I think
> this check may need to be relaxed if want _INFO work when there is
> no VFIO_GROUP (also no fake iommu_group).
Current qemu does not work if there is no VFIO_GROUP, so it doesn't
matter.
In cdev mode qemu should work differently, we can make the kernel
return -1 for group_id and qemu can ignore group_id for the debug
print, or we can just make it fail.
Given qemu doesn't, and can't, support no-iommu this is pretty fringe
stuff.
Jason
More information about the Intel-gfx
mailing list