[Qemu-devel] [PATCH v2 0/2] vfio-pci: Introduce vfio_set_event_handler()

Eric Auger posted 2 patches 6 years, 9 months ago
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test asan passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190117210632.18567-1-eric.auger@redhat.com
Maintainers: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci.c | 347 +++++++++++++++++++++-----------------------------
1 file changed, 145 insertions(+), 202 deletions(-)
[Qemu-devel] [PATCH v2 0/2] vfio-pci: Introduce vfio_set_event_handler()
Posted by Eric Auger 6 years, 9 months ago
This small series introduces the vfio_set_event_handler()
helper which allows to set up/tear down the VFIO signalling of eventfd
for ERR, REQ and INTX irq indices.

On top of that, a new irq index is planned to signal DMA faults
in nested mode use case. This would use exactly the same mechanics.

Eric Auger (2):
  vfio-pci: Introduce vfio_set_event_handler helper
  vfio-pci: Use vfio_set_event_handler in vfio_intx_enable

 hw/vfio/pci.c | 347 +++++++++++++++++++++-----------------------------
 1 file changed, 145 insertions(+), 202 deletions(-)

-- 
2.20.1