On Fri, 12 Mar 2021 20:56:02 -0400 Jason Gunthorpe <jgg@xxxxxxxxxx> wrote: > mdev gets little benefit because it doesn't actually do anything, however > it is the last user, so move the code here for now. > > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > Reviewed-by: Liu Yi L <yi.l.liu@xxxxxxxxx> > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx> > --- > drivers/vfio/mdev/vfio_mdev.c | 24 +++++++++++++++++++-- > drivers/vfio/vfio.c | 39 ++--------------------------------- > include/linux/vfio.h | 5 ----- > 3 files changed, 24 insertions(+), 44 deletions(-) With switching to a bare vfio_device: Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>