Messages in this thread | | | Date | Tue, 30 Aug 2022 20:53:17 -0300 | From | Jason Gunthorpe <> | Subject | Re: [PATCH 15/15] vfio: Add struct device to vfio_device |
| |
On Tue, Aug 30, 2022 at 04:18:38PM -0600, Alex Williamson wrote: > On Sun, 28 Aug 2022 01:10:37 +0800 > Kevin Tian <kevin.tian@intel.com> wrote: > > > From: Yi Liu <yi.l.liu@intel.com> > > > > and replace kref. With it a 'vfio-dev/vfioX' node is created under the > > sysfs path of the parent, indicating the device is bound to a vfio > > driver, e.g.: > > > > /sys/devices/pci0000\:6f/0000\:6f\:01.0/vfio-dev/vfio0 > > > > It is also a preparatory step toward adding cdev for supporting future > > device-oriented uAPI. > > Shall we start Documentation/ABI/testing/vfio-dev now? Thanks.
I always thought that was something to use when adding new custom sysfs attributes?
Here we are just creating a standard struct device with its standard sysfs?
Jason
| |