[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC PATCH 7/8] memory: handle alias for iommu notifier
From: |
Jason Wang |
Subject: |
[Qemu-devel] [RFC PATCH 7/8] memory: handle alias for iommu notifier |
Date: |
Fri, 25 Mar 2016 10:13:28 +0800 |
Cc: Paolo Bonzini <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
---
memory.c | 3 +++
1 file changed, 3 insertions(+)
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);
}
--
2.5.0