Re: [Qemu-devel] [PATCH v7 1/3] memory: introduce IOMMUNotifier and its caps

2016-09-23 Thread David Gibson
On Fri, Sep 23, 2016 at 01:02:26PM +0800, Peter Xu wrote: > IOMMU Notifier list is used for notifying IO address mapping changes. > Currently VFIO is the only user. > > However it is possible that future consumer like vhost would like to > only listen to part of its notifications (e.g., cache inva

[Qemu-devel] [PATCH v7 1/3] memory: introduce IOMMUNotifier and its caps

2016-09-22 Thread Peter Xu
IOMMU Notifier list is used for notifying IO address mapping changes. Currently VFIO is the only user. However it is possible that future consumer like vhost would like to only listen to part of its notifications (e.g., cache invalidations). This patch introduced IOMMUNotifier and IOMMUNotfierFla