|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH] memory.h: Improve IOMMU related documentation |
Date: | Mon, 30 Apr 2018 14:54:18 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 30/04/2018 14:24, Peter Maydell wrote: > - /* Set this up to provide customized IOMMU replay function */ > + /* Set this up to provide customized IOMMU replay function. > + * Optional method. > + */ > void (*replay)(IOMMUMemoryRegion *iommu, IOMMUNotifier *notifier); replay is needed if you want to support IOMMU notifiers. After memory_region_register_iommu_notifier you're only notified about future changes to the mappings; memory_region_iommu_replay calls the replay method so that the IOMMUNotifier is called for each existing mapping. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |