On Fri, Apr 23, 2021 at 08:03:01PM -0300, Jason Gunthorpe wrote: > This is straightforward conversion, the mdev_state is actually serving as > the vfio_device and we can replace all the mdev_get_drvdata()'s and the > wonky dead code with a simple container_of(). Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>