On 06/12/20 09:21, FelixCuioc wrote:
From: FelixCui-oc <felixcui...@zhaoxin.com>

Flatview_simplify() will cause some innocent mappings
to be unmapped.

Signed-off-by: FelixCui-oc <felixcui...@zhaoxin.com>
Signed-off-by: FelixCuioc <felixcui...@zhaoxin.com>
---
  softmmu/memory.c | 1 -
  1 file changed, 1 deletion(-)

diff --git a/softmmu/memory.c b/softmmu/memory.c
index 11ca94d037..66d36dcac4 100644
--- a/softmmu/memory.c
+++ b/softmmu/memory.c
@@ -733,7 +733,6 @@ static FlatView *generate_memory_topology(MemoryRegion *mr)
                               addrrange_make(int128_zero(), int128_2_64()),
                               false, false);
      }
-    flatview_simplify(view);
view->dispatch = address_space_dispatch_new(view);
      for (i = 0; i < view->nr; i++) {


This will give a warning about an unused static function. You have to clean that up too.

Also please include more information from the previous discussions in the commut message, thanks.

Paolo


Reply via email to