Files
linux/Documentation
Stefan Hajnoczi f4660cc994 vhost/vsock: use static minor number
Vhost-vsock is a software device so there is no probe call that causes
the driver to register its misc char device node.  This creates a
chicken and egg problem: userspace applications must open
/dev/vhost-vsock to use the driver but the file doesn't exist until the
kernel module has been loaded.

Use the devname modalias mechanism so that /dev/vhost-vsock is created
at boot.  The vhost_vsock kernel module is automatically loaded when the
first application opens /dev/host-vsock.

Note that the "reserved for local use" range in
Documentation/admin-guide/devices.txt is incorrect.  The userio driver
already occupies part of that range.  I've updated the documentation
accordingly.

Cc: device@lanana.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-18 16:59:06 +02:00
..
2017-04-14 14:00:49 -06:00
2017-05-12 15:57:15 -07:00
2017-05-05 11:48:17 +10:00
2017-04-03 18:53:50 +01:00
2017-03-31 12:55:11 +02:00
2017-04-11 14:35:15 -06:00
2017-02-10 11:15:08 +01:00
2017-03-17 15:10:49 +09:00
2017-04-27 15:54:39 -06:00
2017-02-12 15:20:07 -07:00
2017-04-27 15:54:39 -06:00
2017-04-27 15:54:39 -06:00