Re: [PATCH v4 15/15] vfio: Add struct device to vfio_device

Jason Gunthorpe
2022-09-29T17:50:03Z

On Thu, Sep 29, 2022 at 10:55:19AM -0600, Alex Williamson wrote:
> Hi Kevin,
>
> This introduced the regression discovered here:
>
> https://lore.kernel.org/all/20220928125650.0a2ea297.alex.williamson@redhat.com/
>
> Seems we're not releasing the resources when removing an mdev. This is
> a regression, so it needs to be fixed or reverted before the merge
> window. Thanks,

My guess at the fix for this:

https://lore.kernel.org/r/0-v1-013609965fe8+9d-vfio_gvt_unregister_jgg@nvidia.com

Jason