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

2022-06-06 Thread Alexander Duyck
On Mon, Jun 6, 2022 at 12:29 PM Jag Raman wrote: > > > > > On Jun 6, 2022, at 2:32 PM, Alexander Duyck > > wrote: > > > > On Tue, May 24, 2022 at 9:11 AM Jagannathan Raman > > wrote: > >> > >> Forward remote device's interrupts to the guest > >> > >> Signed-off-by: Elena Ufimtseva > >> Signed

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

2022-06-06 Thread Jag Raman
> On Jun 6, 2022, at 2:32 PM, Alexander Duyck wrote: > > On Tue, May 24, 2022 at 9:11 AM Jagannathan Raman > wrote: >> >> Forward remote device's interrupts to the guest >> >> Signed-off-by: Elena Ufimtseva >> Signed-off-by: John G Johnson >> Signed-off-by: Jagannathan Raman >> --- >> in

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

2022-06-06 Thread Alexander Duyck
On Tue, May 24, 2022 at 9:11 AM Jagannathan Raman wrote: > > 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/pci.h | 13 > include/hw/remote/vfio-user

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

2022-06-03 Thread John Johnson
> On Jun 1, 2022, at 1:26 PM, Alex Williamson > wrote: > > On Wed, 1 Jun 2022 17:00:54 + > Jag Raman wrote: >> >> Hi Alex, >> >> Just to add some more detail, the emulated PCI device in QEMU presently >> maintains a MSIx table (PCIDevice->msix_table) and Pending Bit Array. In the >> pre

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

2022-06-01 Thread Jag Raman
On Jun 1, 2022, at 2:30 PM, Alex Williamson mailto:alex.william...@redhat.com>> wrote: On Wed, 1 Jun 2022 18:01:39 + Jag Raman mailto:jag.ra...@oracle.com>> wrote: On Jun 1, 2022, at 1:26 PM, Alex Williamson mailto:alex.william...@redhat.com>> wrote: On Wed, 1 Jun 2022 17:00:54 + Jag

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

2022-06-01 Thread Alex Williamson
On Wed, 1 Jun 2022 18:01:39 + Jag Raman wrote: > > On Jun 1, 2022, at 1:26 PM, Alex Williamson > > wrote: > > > > On Wed, 1 Jun 2022 17:00:54 + > > Jag Raman wrote: > >> > >> Hi Alex, > >> > >> Just to add some more detail, the emulated PCI device in QEMU presently > >> maintains

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

2022-06-01 Thread Jag Raman
> On Jun 1, 2022, at 1:26 PM, Alex Williamson > wrote: > > On Wed, 1 Jun 2022 17:00:54 + > Jag Raman wrote: >> >> Hi Alex, >> >> Just to add some more detail, the emulated PCI device in QEMU presently >> maintains a MSIx table (PCIDevice->msix_table) and Pending Bit Array. In the >> pre

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

2022-06-01 Thread Alex Williamson
On Wed, 1 Jun 2022 17:00:54 + Jag Raman wrote: > > Hi Alex, > > Just to add some more detail, the emulated PCI device in QEMU presently > maintains a MSIx table (PCIDevice->msix_table) and Pending Bit Array. In the > present VFIO PCI device implementation, QEMU leverages the same > MSIx tabl

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

2022-06-01 Thread Jag Raman
On May 31, 2022, at 5:45 PM, Alex Williamson mailto:alex.william...@redhat.com>> wrote: On Tue, 31 May 2022 22:03:14 +0100 Stefan Hajnoczi mailto:stefa...@gmail.com>> wrote: On Tue, 31 May 2022 at 21:11, Alex Williamson mailto:alex.william...@redhat.com>> wrote: On Tue, 31 May 2022 15:01:57 +

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

2022-06-01 Thread Stefan Hajnoczi
On Wed, 1 Jun 2022 at 07:40, John Johnson wrote: > > > On May 31, 2022, at 2:45 PM, Alex Williamson > > wrote: > > > > On Tue, 31 May 2022 22:03:14 +0100 > > Stefan Hajnoczi wrote: > > > >> On Tue, 31 May 2022 at 21:11, Alex Williamson > >> wrote: > >>> > >>> On Tue, 31 May 2022 15:01:57 +

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

2022-05-31 Thread John Johnson
> On May 31, 2022, at 2:45 PM, Alex Williamson > wrote: > > On Tue, 31 May 2022 22:03:14 +0100 > Stefan Hajnoczi wrote: > >> On Tue, 31 May 2022 at 21:11, Alex Williamson >> wrote: >>> >>> On Tue, 31 May 2022 15:01:57 + >>> Jag Raman wrote: >>> > On May 25, 2022, at 10:53 AM, Ste

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

2022-05-31 Thread Alex Williamson
On Tue, 31 May 2022 22:03:14 +0100 Stefan Hajnoczi wrote: > On Tue, 31 May 2022 at 21:11, Alex Williamson > wrote: > > > > On Tue, 31 May 2022 15:01:57 + > > Jag Raman wrote: > > > > > > On May 25, 2022, at 10:53 AM, Stefan Hajnoczi > > > > wrote: > > > > > > > > On Tue, May 24, 2022 at

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

2022-05-31 Thread Stefan Hajnoczi
On Tue, 31 May 2022 at 21:11, Alex Williamson wrote: > > On Tue, 31 May 2022 15:01:57 + > Jag Raman wrote: > > > > On May 25, 2022, at 10:53 AM, Stefan Hajnoczi wrote: > > > > > > On Tue, May 24, 2022 at 11:30:32AM -0400, Jagannathan Raman wrote: > > >> Forward remote device's interrupts to

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

2022-05-31 Thread Alex Williamson
On Tue, 31 May 2022 15:01:57 + Jag Raman wrote: > > On May 25, 2022, at 10:53 AM, Stefan Hajnoczi wrote: > > > > On Tue, May 24, 2022 at 11:30:32AM -0400, Jagannathan Raman wrote: > >> Forward remote device's interrupts to the guest > >> > >> Signed-off-by: Elena Ufimtseva > >> Signed-o

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

2022-05-31 Thread Jag Raman
> On May 25, 2022, at 10:53 AM, Stefan Hajnoczi wrote: > > On Tue, May 24, 2022 at 11:30:32AM -0400, Jagannathan Raman wrote: >> Forward remote device's interrupts to the guest >> >> Signed-off-by: Elena Ufimtseva >> Signed-off-by: John G Johnson >> Signed-off-by: Jagannathan Raman >> ---

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

2022-05-25 Thread Stefan Hajnoczi
On Tue, May 24, 2022 at 11:30:32AM -0400, Jagannathan Raman wrote: > 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/pci.h | 13 > include/hw/remote/v

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

2022-05-24 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/pci.h | 13 include/hw/remote/vfio-user-obj.h | 6 ++ hw/pci/msi.c | 16 ++-- hw/pci/msix.