]> git.baikalelectronics.ru Git - kernel.git/commit
vfio-pci: Add device request interface
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 6 Feb 2015 22:05:08 +0000 (15:05 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 10 Feb 2015 19:38:14 +0000 (12:38 -0700)
commit7a7917eb839da18d6620fb11abe0f596e3697002
tree6493763d0a2122ca2258fc4b4b31801cd688b68f
parent932667ebf033b5f90fd09469c6fb56e3b5d6c168
vfio-pci: Add device request interface

Userspace can opt to receive a device request notification,
indicating that the device should be released.  This is setup
the same way as the error IRQ and also supports eventfd signaling.
Future support may forcefully remove the device from the user if
the request is ignored.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci.c
drivers/vfio/pci/vfio_pci_intrs.c
drivers/vfio/pci/vfio_pci_private.h
include/uapi/linux/vfio.h