diff options
| author | Yi Liu <[email protected]> | 2022-09-21 18:44:01 +0800 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2022-09-21 14:15:11 -0600 |
| commit | 3c28a76124b25882411f005924be73795b6ef078 (patch) | |
| tree | 54a46e4647055d4612a3f0edeba28a39da6c8663 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 4a725b8de4cc5e88c00f7607d9ba0e97151251e5 (diff) | |
vfio: Add struct device to vfio_device
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.
Add Documentation/ABI/testing/sysfs-devices-vfio-dev.
Suggested-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Signed-off-by: Kevin Tian <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions