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

From: Alex Williamson
Date: Thu Sep 29 2022 - 14:24:44 EST


On Thu, 29 Sep 2022 14:49:56 -0300
Jason Gunthorpe <jgg@xxxxxxxx> 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@xxxxxxxxxx/
> >
> > 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@xxxxxxxxxx

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

Alex