Re: [Qemu-devel] [PATCH v8 3/9] memory: provide iommu_replay_all()

2017-04-06 Thread Peter Xu
On Thu, Apr 06, 2017 at 07:46:47PM +0800, Peter Xu wrote: > On Thu, Apr 06, 2017 at 12:52:19PM +0200, Auger Eric wrote: > > Hi Peter, > > > > On 06/04/2017 09:08, Peter Xu wrote: [...] > > > +void memory_region_iommu_replay_all(MemoryRegion *mr) > > > +{ > > > +IOMMUNotifier *notifier; > > >

Re: [Qemu-devel] [PATCH v8 3/9] memory: provide iommu_replay_all()

2017-04-06 Thread Michael S. Tsirkin
On Thu, Apr 06, 2017 at 03:08:38PM +0800, Peter Xu wrote: > This is an "global" version of exising memory_region_iommu_replay() - we > announce the translations to all the registered notifiers, instead of a > specific one. > > Reviewed-by: David Gibson > Signed-off-by: Peter Xu Reviewed-by: Mic

Re: [Qemu-devel] [PATCH v8 3/9] memory: provide iommu_replay_all()

2017-04-06 Thread Peter Xu
On Thu, Apr 06, 2017 at 12:52:19PM +0200, Auger Eric wrote: > Hi Peter, > > On 06/04/2017 09:08, Peter Xu wrote: > > This is an "global" version of exising memory_region_iommu_replay() - we > s/exising/existing > > announce the translations to all the registered notifiers, instead of a > > specifi

Re: [Qemu-devel] [PATCH v8 3/9] memory: provide iommu_replay_all()

2017-04-06 Thread Auger Eric
Hi Peter, On 06/04/2017 09:08, Peter Xu wrote: > This is an "global" version of exising memory_region_iommu_replay() - we s/exising/existing > announce the translations to all the registered notifiers, instead of a > specific one. > > Reviewed-by: David Gibson > Signed-off-by: Peter Xu > --- >

[Qemu-devel] [PATCH v8 3/9] memory: provide iommu_replay_all()

2017-04-06 Thread Peter Xu
This is an "global" version of exising memory_region_iommu_replay() - we announce the translations to all the registered notifiers, instead of a specific one. Reviewed-by: David Gibson Signed-off-by: Peter Xu --- include/exec/memory.h | 8 memory.c | 9 + 2 files c