On Mon, Apr 26, 2021 at 04:19:11PM +0200, Christoph Hellwig wrote:
> > +The mediated bus driver's probe function should create a vfio_device on
> > top of
> > +the mdev_device and connect it to an appropriate implementation of
> > vfio_device_ops.
>
> Overly long line.
>
> > +This will provide
> +The mediated bus driver's probe function should create a vfio_device on top
> of
> +the mdev_device and connect it to an appropriate implementation of
> vfio_device_ops.
Overly long line.
> +This will provide the 'mdev_supported_types/XX/create' files which can then
> be used
> +to trigger
The last useful member in this struct is the supported_type_groups, move
it to the mdev_driver and delete mdev_parent_ops.
Replace it with mdev_driver as an argument to mdev_register_device()
Signed-off-by: Jason Gunthorpe
---
.../driver-api/vfio-mediated-device.rst | 36 +++--