diff --git a/exec.c b/exec.c index 8b922db612..6d1e1e4c75 100644 --- a/exec.c +++ b/exec.c @@ -1638,7 +1638,6 @@ void qemu_ram_remap(ram_addr_t addr, ram_addr_t length) abort(); } else { flags = MAP_FIXED; - munmap(vaddr, length); if (block->fd >= 0) { flags |= (block->flags & RAM_SHARED ? MAP_SHARED : MAP_PRIVATE);