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

Tian, Kevin kevin.tian at intel.com
Tue Jun 28 09:49:17 UTC 2022


> 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 at lst.de>
> Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
> Reviewed-by: Kirti Wankhede <kwankhede at nvidia.com>

Reviewed-by: Kevin Tian <kevin.tian at intel.com>


More information about the intel-gvt-dev mailing list