]> 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)
commitf39a887e7d5e358819dba27606944347d76232a9
tree6493763d0a2122ca2258fc4b4b31801cd688b68f
parent395b7cddf08c8d5e6e5345fc747acaa80ffff0e5
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