Re: [RFC PATCH v4 04/10] vfio/pci: let vfio_pci know number of vendor regions and vendor irqs

2020-06-11 Thread Yan Zhao
On Thu, Jun 11, 2020 at 01:31:05PM +0100, David Edmondson wrote: > On Thursday, 2020-06-04 at 22:15:42 -04, Yan Zhao wrote: > > > On Thu, Jun 04, 2020 at 05:25:15PM +0200, Cornelia Huck wrote: > >> On Sun, 17 May 2020 22:49:44 -0400 > >> Yan Zhao wrote: > >> > >> > This allows a simpler

Re: [RFC PATCH v4 04/10] vfio/pci: let vfio_pci know number of vendor regions and vendor irqs

2020-06-11 Thread David Edmondson
On Thursday, 2020-06-04 at 22:15:42 -04, Yan Zhao wrote: > On Thu, Jun 04, 2020 at 05:25:15PM +0200, Cornelia Huck wrote: >> On Sun, 17 May 2020 22:49:44 -0400 >> Yan Zhao wrote: >> >> > This allows a simpler VFIO_DEVICE_GET_INFO ioctl in vendor driver >> > >> > Cc: Kevin Tian >> >

Re: [RFC PATCH v4 04/10] vfio/pci: let vfio_pci know number of vendor regions and vendor irqs

2020-06-04 Thread Yan Zhao
On Thu, Jun 04, 2020 at 05:25:15PM +0200, Cornelia Huck wrote: > On Sun, 17 May 2020 22:49:44 -0400 > Yan Zhao wrote: > > > This allows a simpler VFIO_DEVICE_GET_INFO ioctl in vendor driver > > > > Cc: Kevin Tian > > Signed-off-by: Yan Zhao > > --- > > drivers/vfio/pci/vfio_pci.c |

Re: [RFC PATCH v4 04/10] vfio/pci: let vfio_pci know number of vendor regions and vendor irqs

2020-06-04 Thread Cornelia Huck
On Sun, 17 May 2020 22:49:44 -0400 Yan Zhao wrote: > This allows a simpler VFIO_DEVICE_GET_INFO ioctl in vendor driver > > Cc: Kevin Tian > Signed-off-by: Yan Zhao > --- > drivers/vfio/pci/vfio_pci.c | 23 +-- > drivers/vfio/pci/vfio_pci_private.h | 2 ++ >