Files
kernel_xiaomi_sm8250/include/linux
Alex Williamson 8dcf94bcff misc: Reserve minor for VFIO
VFIO currently allocates it's own dynamic chardev range, reserving the
first minor for the control part of the interface (/dev/vfio/vfio) and
the remainder for VFIO groups (/dev/vfio/$GROUP).  This works, but it
doesn't support auto loading.  For instance when libvirt checks for
VFIO support it looks for /dev/vfio/vfio, which currently doesn't
exist unless the vfio module is loaded.  By converting the control
device to a misc driver and reserving a static minor, we can enable
auto loading.

Reserving the minor is a prerequist to that conversion.  Minor 196
is unused by anything currently in the kernel.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-12-19 10:17:11 -07:00
..
2013-12-03 13:10:47 +01:00
2013-11-08 08:59:44 -07:00
2013-10-28 13:33:58 -06:00
2013-11-15 09:32:23 +09:00
2013-11-15 09:32:21 +09:00
2013-11-09 00:16:29 -05:00
2013-11-15 22:04:17 -05:00
2013-11-15 09:32:23 +09:00
2013-12-19 10:17:11 -07:00
2013-11-13 12:09:11 +09:00
2013-11-09 00:16:19 -05:00
2013-11-09 00:16:19 -05:00
2013-12-10 21:45:15 -05:00
2013-11-14 15:16:16 +11:00