Re: [PATCH v11 13/14] vfio-user: handle device interrupts

2022-06-13 Thread Stefan Hajnoczi
On Fri, Jun 10, 2022 at 03:50:40PM -0400, Jagannathan Raman wrote: > @@ -307,6 +315,38 @@ bool msi_is_masked(const PCIDevice *dev, unsigned int > vector) > return mask & (1U << vector); > } > > +void msi_set_irq_state(PCIDevice *dev, int vector, bool mask, Error **errp) The function name

[PATCH v11 13/14] vfio-user: handle device interrupts

2022-06-10 Thread Jagannathan Raman
Forward remote device's interrupts to the guest Signed-off-by: Elena Ufimtseva Signed-off-by: John G Johnson Signed-off-by: Jagannathan Raman --- include/hw/pci/msi.h | 1 + include/hw/pci/msix.h | 1 + include/hw/pci/pci.h | 13 +++ include/hw/remote