qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v4 7/7] system/physmem: Memory settings applied on remap noti


From: David Hildenbrand
Subject: Re: [PATCH v4 7/7] system/physmem: Memory settings applied on remap notification
Date: Wed, 8 Jan 2025 22:53:23 +0100
User-agent: Mozilla Thunderbird

On 14.12.24 14:45, “William Roche wrote:
From: William Roche <william.roche@oracle.com>

Merging and dump settings are handled by the remap notification
in addition to memory policy and preallocation.

Signed-off-by: William Roche <william.roche@oracle.com>
---
  system/physmem.c | 2 --
  1 file changed, 2 deletions(-)

diff --git a/system/physmem.c b/system/physmem.c
index 9fc74a5699..c0bfa20efc 100644
--- a/system/physmem.c
+++ b/system/physmem.c
@@ -2242,8 +2242,6 @@ void qemu_ram_remap(ram_addr_t addr)
                      }
                      qemu_ram_remap_mmap(block, vaddr, page_size, offset);
                  }
-                memory_try_enable_merging(vaddr, page_size);
-                qemu_ram_setup_dump(vaddr, page_size);
                  ram_block_notify_remap(block->host, offset, page_size);
              }

Ah yes, indeed.

--
Cheers,

David / dhildenb




reply via email to

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