qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/1] Remove flatview_simplify()


From: Paolo Bonzini
Subject: Re: [PATCH 1/1] Remove flatview_simplify()
Date: Sun, 6 Dec 2020 11:10:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0

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

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

Signed-off-by: FelixCui-oc <FelixCui-oc@zhaoxin.com>
Signed-off-by: FelixCuioc <FelixCui-oc@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

[Prev in Thread] Current Thread [Next in Thread]