summaryrefslogtreecommitdiffstats
path: root/include/linux/vfio.h
diff options
context:
space:
mode:
authorAntonios Motakis <a.motakis@virtualopensystems.com>2015-03-16 14:08:53 -0600
committerAlex Williamson <alex.williamson@redhat.com>2015-03-16 14:08:53 -0600
commit09bbcb8810c4673cb96477e0e83c9bcdfadc7741 (patch)
tree73ad0b7630c6287f949b803089fb162973c8c13e /include/linux/vfio.h
parent9269c393e7a971f98c0f54d7fc350ac7636d1fa5 (diff)
downloadop-kernel-dev-09bbcb8810c4673cb96477e0e83c9bcdfadc7741.zip
op-kernel-dev-09bbcb8810c4673cb96477e0e83c9bcdfadc7741.tar.gz
vfio: pass an opaque pointer on virqfd initialization
VFIO_PCI passes the VFIO device structure *vdev via eventfd to the handler that implements masking/unmasking of IRQs via an eventfd. We can replace it in the virqfd infrastructure with an opaque type so we can make use of the mechanism from other VFIO bus drivers. Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com> Signed-off-by: Baptiste Reynal <b.reynal@virtualopensystems.com> Reviewed-by: Eric Auger <eric.auger@linaro.org> Tested-by: Eric Auger <eric.auger@linaro.org> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux/vfio.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud