Re: [Qemu-devel] [PATCH v4 03/12] vfio: Add guest side IOMMU support

2013-09-10 Thread Paolo Bonzini
Il 11/09/2013 00:02, Alex Williamson ha scritto: >>> > > I would hope that when you do the below >>> > > memory_region_register_iommu_notifier() the callback gets a replay of >>> > > the current state of the iommu like we do for a memory region when we >>> > > register the listener that gets us her

Re: [Qemu-devel] [PATCH v4 03/12] vfio: Add guest side IOMMU support

2013-09-10 Thread Alex Williamson
On Tue, 2013-09-10 at 18:22 +1000, Alexey Kardashevskiy wrote: > On 09/06/2013 04:49 AM, Alex Williamson wrote: > > On Fri, 2013-08-30 at 20:15 +1000, Alexey Kardashevskiy wrote: > >> From: David Gibson > >> > >> This patch uses the new IOMMU notifiers to allow VFIO pass through devices > >> to wo

Re: [Qemu-devel] [PATCH v4 03/12] vfio: Add guest side IOMMU support

2013-09-10 Thread Alexey Kardashevskiy
On 09/06/2013 04:49 AM, Alex Williamson wrote: > On Fri, 2013-08-30 at 20:15 +1000, Alexey Kardashevskiy wrote: >> From: David Gibson >> >> This patch uses the new IOMMU notifiers to allow VFIO pass through devices >> to work with guest side IOMMUs, as long as the host-side VFIO iommu has >> suffi

Re: [Qemu-devel] [PATCH v4 03/12] vfio: Add guest side IOMMU support

2013-09-05 Thread Alex Williamson
On Fri, 2013-08-30 at 20:15 +1000, Alexey Kardashevskiy wrote: > From: David Gibson > > This patch uses the new IOMMU notifiers to allow VFIO pass through devices > to work with guest side IOMMUs, as long as the host-side VFIO iommu has > sufficient capability and granularity to match the guest s

[Qemu-devel] [PATCH v4 03/12] vfio: Add guest side IOMMU support

2013-08-30 Thread Alexey Kardashevskiy
From: David Gibson This patch uses the new IOMMU notifiers to allow VFIO pass through devices to work with guest side IOMMUs, as long as the host-side VFIO iommu has sufficient capability and granularity to match the guest side. This works by tracking all map and unmap operations on the guest IOM