commit | 068665757da047d7d2980c17bba0659eb0ea0a89 | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Tue May 14 19:13:56 2013 +1000 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 20 16:32:47 2013 +0200 |
tree | a796657fa689e04bd28489c05c5d99e0e1981ebd | |
parent | 30951157441aed950ad8ca326500b4986d431c7a [diff] |
memory: Add iommu map/unmap notifiers This patch adds a NotifierList to MemoryRegions which represent IOMMUs allowing other parts of the code to register interest in mappings or unmappings from the IOMMU. All IOMMU implementations will need to call memory_region_notify_iommu() to inform those waiting on the notifier list, whenever an IOMMU mapping is made or removed. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>