[PATCH] drm/i915/gvt: Add missing vfio_unregister_group_dev() call

Jason Gunthorpe jgg at nvidia.com
Thu Oct 6 11:37:09 UTC 2022


On Wed, Oct 05, 2022 at 04:03:56PM -0600, Alex Williamson wrote:
> We can't have a .remove callback that does nothing, this breaks
> removing the device while it's in use.  Once we have the
> vfio_unregister_group_dev() fix below, we'll block until the device is
> unused, at which point vgpu->attached becomes false.  Unless I'm
> missing something, I think we should also follow-up with a patch to
> remove that bogus warn-on branch, right?  Thanks,

Yes, looks right to me.

I question all the logical arround attached, where is the locking?

Jason


More information about the dri-devel mailing list