Message ID | 1458872009-13342-8-git-send-email-jasowang@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/memory.c b/memory.c index 95f7209..858b390 100644 --- a/memory.c +++ b/memory.c @@ -1509,6 +1509,9 @@ bool memory_region_is_logging(MemoryRegion *mr, uint8_t client) void memory_region_register_iommu_notifier(MemoryRegion *mr, Notifier *n) { + if (mr->alias) { + memory_region_register_iommu_notifier(mr->alias, n); + } notifier_list_add(&mr->iommu_notify, n); }
Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> --- memory.c | 3 +++ 1 file changed, 3 insertions(+)