Re: [Qemu-devel] [PATCH qemu v3] RFC: vfio-pci: Allow mmap of MSIX BAR

2018-01-24 Thread Alex Williamson
On Wed, 24 Jan 2018 16:30:04 +0100 Auger Eric wrote: > Hi Alex, > On 24/01/18 16:02, Alex Williamson wrote: > > On Wed, 24 Jan 2018 15:13:06 +0100 > > Auger Eric wrote: > > > >> Hi Alex, > >> On 23/01/18 20:55, Alex Williamson wrote: > >>> On Tue, 23 Jan 2018 16:34:34 +0100 > >>> Auger Eric

Re: [Qemu-devel] [PATCH qemu v3] RFC: vfio-pci: Allow mmap of MSIX BAR

2018-01-24 Thread Auger Eric
Hi Alex, On 24/01/18 16:02, Alex Williamson wrote: > On Wed, 24 Jan 2018 15:13:06 +0100 > Auger Eric wrote: > >> Hi Alex, >> On 23/01/18 20:55, Alex Williamson wrote: >>> On Tue, 23 Jan 2018 16:34:34 +0100 >>> Auger Eric wrote: >>> Hi Alexey, On 23/01/18 02:22, Alexey Kardashevskiy

Re: [Qemu-devel] [PATCH qemu v3] RFC: vfio-pci: Allow mmap of MSIX BAR

2018-01-24 Thread Alex Williamson
On Wed, 24 Jan 2018 15:13:06 +0100 Auger Eric wrote: > Hi Alex, > On 23/01/18 20:55, Alex Williamson wrote: > > On Tue, 23 Jan 2018 16:34:34 +0100 > > Auger Eric wrote: > > > >> Hi Alexey, > >> On 23/01/18 02:22, Alexey Kardashevskiy wrote: > >>> This makes use of a new VFIO_REGION_INFO_CAP

Re: [Qemu-devel] [PATCH qemu v3] RFC: vfio-pci: Allow mmap of MSIX BAR

2018-01-24 Thread Auger Eric
Hi Alex, On 23/01/18 20:55, Alex Williamson wrote: > On Tue, 23 Jan 2018 16:34:34 +0100 > Auger Eric wrote: > >> Hi Alexey, >> On 23/01/18 02:22, Alexey Kardashevskiy wrote: >>> This makes use of a new VFIO_REGION_INFO_CAP_MSIX_MAPPABLE capability >>> which tells that a region with MSIX data can

Re: [Qemu-devel] [PATCH qemu v3] RFC: vfio-pci: Allow mmap of MSIX BAR

2018-01-23 Thread Alex Williamson
On Tue, 23 Jan 2018 16:34:34 +0100 Auger Eric wrote: > Hi Alexey, > On 23/01/18 02:22, Alexey Kardashevskiy wrote: > > This makes use of a new VFIO_REGION_INFO_CAP_MSIX_MAPPABLE capability > > which tells that a region with MSIX data can be mapped entirely, i.e. > > the VFIO PCI driver won't prev

Re: [Qemu-devel] [PATCH qemu v3] RFC: vfio-pci: Allow mmap of MSIX BAR

2018-01-23 Thread Auger Eric
Hi Alexey, On 23/01/18 02:22, Alexey Kardashevskiy wrote: > This makes use of a new VFIO_REGION_INFO_CAP_MSIX_MAPPABLE capability > which tells that a region with MSIX data can be mapped entirely, i.e. > the VFIO PCI driver won't prevent MSIX vectors area from being mapped. > > With this change, a

[Qemu-devel] [PATCH qemu v3] RFC: vfio-pci: Allow mmap of MSIX BAR

2018-01-22 Thread Alexey Kardashevskiy
This makes use of a new VFIO_REGION_INFO_CAP_MSIX_MAPPABLE capability which tells that a region with MSIX data can be mapped entirely, i.e. the VFIO PCI driver won't prevent MSIX vectors area from being mapped. With this change, all BARs are mapped in a single chunk and MSIX vectors are emulated o