Skip to content

vfio-pci: Introduce vfio_set_event_handler()

Eric Auger qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v12 patches 11 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vfio-pci: Introduce vfio_set_event_handler helperhw/vfio/pci.c+132 -1644 replies
2/2vfio-pci: Use vfio_set_event_handler in vfio_intx_enablehw/vfio/pci.c+13 -381 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)
Signature · 1 line
2.20.1