On Tue, Jun 14, 2022 at 06:54:27AM +0200, Christoph Hellwig wrote: > 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@xxxxxx> > Reviewed-by: Kirti Wankhede <kwankhede@xxxxxxxxxx> > --- > .../driver-api/vfio-mediated-device.rst | 4 +- > drivers/gpu/drm/i915/gvt/kvmgt.c | 18 +++------ > drivers/vfio/mdev/mdev_driver.c | 2 +- > drivers/vfio/mdev/mdev_sysfs.c | 40 +++++++++++++++---- > include/linux/mdev.h | 19 +-------- > samples/vfio-mdev/mbochs.c | 11 +---- > samples/vfio-mdev/mdpy.c | 11 +---- > 7 files changed, 46 insertions(+), 59 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason