linux/samples/vfio-mdev
Jason Gunthorpe 681c1615f8 vfio/mbochs: Convert to use vfio_register_group_dev()
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().

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20210617142218.1877096-11-hch@lst.de
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2021-06-21 15:29:25 -06:00
..
Makefile
mbochs.c vfio/mbochs: Convert to use vfio_register_group_dev() 2021-06-21 15:29:25 -06:00
mdpy-defs.h
mdpy-fb.c
mdpy.c vfio/mdpy: Convert to use vfio_register_group_dev() 2021-06-21 15:29:25 -06:00
mtty.c vfio/mtty: Convert to use vfio_register_group_dev() 2021-06-21 15:29:25 -06:00