]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: Simplify target_munmap
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Jul 2023 20:40:50 +0000 (21:40 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 15 Jul 2023 07:02:32 +0000 (08:02 +0100)
commitd7b0c5d01374468c36bbe95140b8db8df95a99e3
tree1847c341284c5af634fd0dc8fd8964827d4c33c5
parent558a4411c25d43d3f35bc18d84c31ca336ac16c6
linux-user: Simplify target_munmap

All of the guest to host page adjustment is handled by
mmap_reserve_or_unmap; there is no need to duplicate that.
There are no failure modes for munmap after alignment and
guest address range have been validated.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230707204054.8792-23-richard.henderson@linaro.org>
linux-user/mmap.c