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

Alex Williamson
2022-09-29T18:24:41Z

On Thu, 29 Sep 2022 14:49:56 -0300
Jason Gunthorpe <jgg@ziepe.ca> wrote:

> 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

Indeed this seems to work I'll look for acks and further reviews from
Intel folks. Thanks!

Alex