1 What: /sys/bus/vdpa/drivers_autoprobe
3 Contact: virtualization@lists.linux.dev
5 This file determines whether new devices are immediately bound
6 to a driver after the creation. It initially contains 1, which
7 means the kernel automatically binds devices to a compatible
8 driver immediately after they are created.
10 Writing "0" to this file disable this feature, any other string
13 What: /sys/bus/vdpa/driver_probe
15 Contact: virtualization@lists.linux.dev
17 Writing a device name to this file will cause the kernel binds
18 devices to a compatible driver.
20 This can be useful when /sys/bus/vdpa/drivers_autoprobe is
23 What: /sys/bus/vdpa/drivers/.../bind
25 Contact: virtualization@lists.linux.dev
27 Writing a device name to this file will cause the driver to
28 attempt to bind to the device. This is useful for overriding
31 What: /sys/bus/vdpa/drivers/.../unbind
33 Contact: virtualization@lists.linux.dev
35 Writing a device name to this file will cause the driver to
36 attempt to unbind from the device. This may be useful when
37 overriding default bindings.
39 What: /sys/bus/vdpa/devices/.../driver_override
41 Contact: virtualization@lists.linux.dev
43 This file allows the driver for a device to be specified.
44 When specified, only a driver with a name matching the value
45 written to driver_override will have an opportunity to bind to
46 the device. The override is specified by writing a string to the
47 driver_override file (echo vhost-vdpa > driver_override) and may
48 be cleared with an empty string (echo > driver_override).
49 This returns the device to standard matching rules binding.
50 Writing to driver_override does not automatically unbind the
51 device from its current driver or make any attempt to
52 automatically load the specified driver. If no driver with a
53 matching name is currently loaded in the kernel, the device will
54 not bind to any driver. This also allows devices to opt-out of
55 driver binding using a driver_override name such as "none".
56 Only a single driver may be specified in the override, there is
57 no support for parsing delimiters.