mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
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]>
9 lines
332 B
Plaintext
9 lines
332 B
Plaintext
What: /sys/.../<device>/vfio-dev/vfioX/
|
|
Date: September 2022
|
|
Contact: Yi Liu <[email protected]>
|
|
Description:
|
|
This directory is created when the device is bound to a
|
|
vfio driver. The layout under this directory matches what
|
|
exists for a standard 'struct device'. 'X' is a unique
|
|
index marking this device in vfio.
|