Re: [Qemu-devel] [PATCH v8 2/4] vfio: Add vfio_container_ioctl()

2014-06-09 Thread Alex Williamson
On Sun, 2014-06-08 at 09:48 +1000, Alexey Kardashevskiy wrote: > On 06/07/2014 08:55 AM, Alex Williamson wrote: > > On Sat, 2014-06-07 at 08:50 +1000, Alexey Kardashevskiy wrote: > >> On 06/07/2014 03:35 AM, Alex Williamson wrote: > >>> On Sat, 2014-06-07 at 02:54 +1000, Alexey Kardashevskiy wrote:

Re: [Qemu-devel] [PATCH v8 2/4] vfio: Add vfio_container_ioctl()

2014-06-07 Thread Alexey Kardashevskiy
On 06/07/2014 08:55 AM, Alex Williamson wrote: > On Sat, 2014-06-07 at 08:50 +1000, Alexey Kardashevskiy wrote: >> On 06/07/2014 03:35 AM, Alex Williamson wrote: >>> On Sat, 2014-06-07 at 02:54 +1000, Alexey Kardashevskiy wrote: On 06/07/2014 02:48 AM, Alex Williamson wrote: > On Fri, 2014

Re: [Qemu-devel] [PATCH v8 2/4] vfio: Add vfio_container_ioctl()

2014-06-06 Thread Alex Williamson
On Sat, 2014-06-07 at 08:50 +1000, Alexey Kardashevskiy wrote: > On 06/07/2014 03:35 AM, Alex Williamson wrote: > > On Sat, 2014-06-07 at 02:54 +1000, Alexey Kardashevskiy wrote: > >> On 06/07/2014 02:48 AM, Alex Williamson wrote: > >>> On Fri, 2014-06-06 at 13:34 +1000, Alexey Kardashevskiy wrote:

Re: [Qemu-devel] [PATCH v8 2/4] vfio: Add vfio_container_ioctl()

2014-06-06 Thread Alexey Kardashevskiy
On 06/07/2014 03:35 AM, Alex Williamson wrote: > On Sat, 2014-06-07 at 02:54 +1000, Alexey Kardashevskiy wrote: >> On 06/07/2014 02:48 AM, Alex Williamson wrote: >>> On Fri, 2014-06-06 at 13:34 +1000, Alexey Kardashevskiy wrote: While most operations with VFIO IOMMU driver are generic and used

Re: [Qemu-devel] [PATCH v8 2/4] vfio: Add vfio_container_ioctl()

2014-06-06 Thread Alex Williamson
On Sat, 2014-06-07 at 02:54 +1000, Alexey Kardashevskiy wrote: > On 06/07/2014 02:48 AM, Alex Williamson wrote: > > On Fri, 2014-06-06 at 13:34 +1000, Alexey Kardashevskiy wrote: > >> While most operations with VFIO IOMMU driver are generic and used inside > >> vfio.c, there are still some operatio

Re: [Qemu-devel] [PATCH v8 2/4] vfio: Add vfio_container_ioctl()

2014-06-06 Thread Alexey Kardashevskiy
On 06/07/2014 02:48 AM, Alex Williamson wrote: > On Fri, 2014-06-06 at 13:34 +1000, Alexey Kardashevskiy wrote: >> While most operations with VFIO IOMMU driver are generic and used inside >> vfio.c, there are still some operations which only specific VFIO IOMMU >> drivers implement. The first examp

Re: [Qemu-devel] [PATCH v8 2/4] vfio: Add vfio_container_ioctl()

2014-06-06 Thread Alex Williamson
On Fri, 2014-06-06 at 13:34 +1000, Alexey Kardashevskiy wrote: > While most operations with VFIO IOMMU driver are generic and used inside > vfio.c, there are still some operations which only specific VFIO IOMMU > drivers implement. The first example of it will be reading a DMA window > start from t

[Qemu-devel] [PATCH v8 2/4] vfio: Add vfio_container_ioctl()

2014-06-05 Thread Alexey Kardashevskiy
While most operations with VFIO IOMMU driver are generic and used inside vfio.c, there are still some operations which only specific VFIO IOMMU drivers implement. The first example of it will be reading a DMA window start from the host. This adds a helper which passes an ioctl request to the conta