vfio: Convert control interface to misc driver
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 19 Dec 2013 17:17:13 +0000 (10:17 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 19 Dec 2013 17:17:13 +0000 (10:17 -0700)
commitd10999016f4164e9b80f1b3dece3842087cfa3bb
tree8c739c70480d451e1c0e62c1cf1f8f695f4071ce
parent8dcf94bcff5bf3b54380ae2a17b034fb3b9d58e5
vfio: Convert control interface to misc driver

This change allows us to support module auto loading using devname
support in userspace tools.  With this, /dev/vfio/vfio will always
be present and opening it will cause the vfio module to load.  This
should avoid needing to configure the system to statically load
vfio in order to get libvirt to correctly detect support for it.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio.c