qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] vfio-pci: Introduce vfio_set_event_handler()
@ 2019-01-17 21:06 Eric Auger
  2019-01-17 21:06 ` [Qemu-devel] [PATCH v2 1/2] vfio-pci: Introduce vfio_set_event_handler helper Eric Auger
  2019-01-17 21:06 ` [Qemu-devel] [PATCH v2 2/2] vfio-pci: Use vfio_set_event_handler in vfio_intx_enable Eric Auger
  0 siblings, 2 replies; 8+ messages in thread
From: Eric Auger @ 2019-01-17 21:06 UTC (permalink / raw)
  To: eric.auger.pro, eric.auger, qemu-devel, alex.williamson; +Cc: aik, cohuck

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-01-23 17:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-17 21:06 [Qemu-devel] [PATCH v2 0/2] vfio-pci: Introduce vfio_set_event_handler() Eric Auger
2019-01-17 21:06 ` [Qemu-devel] [PATCH v2 1/2] vfio-pci: Introduce vfio_set_event_handler helper Eric Auger
2019-01-22 19:51   ` Alex Williamson
2019-01-23 15:28     ` Auger Eric
2019-01-23 16:00       ` Alex Williamson
2019-01-23 17:31         ` Auger Eric
2019-01-17 21:06 ` [Qemu-devel] [PATCH v2 2/2] vfio-pci: Use vfio_set_event_handler in vfio_intx_enable Eric Auger
2019-01-22 19:51   ` Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).