This series intends to setup the VFIO helper to allow
binding notifiers on different IRQs. Only MSIX IRQ type
considered so far.
Stefan suggested me to publish earlier to discuss.
If not too bad feedbacks I'll add some documentation in
"qemu/vfio-helpers.h" before reposting.
(NVMe block driver series will follow).
Based-on: <20200812185014.18267-1-philmd@redhat.com>
"block/nvme: Various cleanups required to use multiple queues"
https://www.mail-archive.com/qemu-devel@nongnu.org/msg729395.html
Supersedes: <20200811172845.16698-1-philmd@redhat.com>
Philippe Mathieu-Daudé (7):
util/vfio-helpers: Store eventfd using int32_t type
util/vfio-helpers: Move IRQ 'type' from pci_init_irq() to open_pci()
util/vfio-helpers: Introduce 'irq_count' variable
util/vfio-helpers: Check the device allow up to 'irq_count' IRQs
util/vfio-helpers: Support multiple eventfd
util/vfio-helpers: Allow to set EventNotifier to particular IRQ
util/vfio-helpers: Allow opening device requesting for multiple IRQs
include/qemu/vfio-helpers.h | 5 +++--
block/nvme.c | 9 +++++---
util/vfio-helpers.c | 42 ++++++++++++++++++++++++++++++-------
util/trace-events | 1 +
4 files changed, 45 insertions(+), 12 deletions(-)
--
2.21.3