RE: [PATCH 12/13] vfio/mdev: consolidate all the description sysfs into the core code

Tian, Kevin
2022-06-28T09:50:09Z

> From: Christoph Hellwig
> Sent: Tuesday, June 28, 2022 1:15 PM
>
> Every driver just emits a string, simply add a method to the mdev_driver
> to return it and provide a standard sysfs show function.
>
> Remove the now unused types_attrs field in struct mdev_driver and the
> support code for it.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
> Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com>