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

Eric Auger posted 2 patches 5 years, 3 months ago
Test docker-clang@ubuntu passed
Test asan passed
Test checkpatch passed
Test docker-mingw@fedora passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190111165801.15181-1-eric.auger@redhat.com
Maintainers: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci.c | 329 ++++++++++++++++++++------------------------------
1 file changed, 134 insertions(+), 195 deletions(-)
[Qemu-devel] [PATCH 0/2] vfio-pci: Introduce vfio_register_event_notifier()
Posted by Eric Auger 5 years, 3 months ago
This small series introduces the vfio_register_event_notifier()
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_register_event_notifier helper
  vfio-pci: Use vfio_register_event_notifier in vfio_intx_enable_kvm

 hw/vfio/pci.c | 329 ++++++++++++++++++++------------------------------
 1 file changed, 134 insertions(+), 195 deletions(-)

-- 
2.17.2