[PATCH 11/13] vfio/mdev: consolidate all the available_instance sysfs into the core code

Tian, Kevin kevin.tian at intel.com
Tue Jun 14 10:14:22 UTC 2022


> From: Christoph Hellwig
> Sent: Tuesday, June 14, 2022 12:54 PM
> 
> Every driver just print a number, simply add a method to the mdev_driver
> to return it and provide a standard sysfs show function.

I didn't get why not simply adding a field to mdev_type?



More information about the intel-gvt-dev mailing list