]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user/x86_64: Handle the vsyscall page in open_self_maps_{2,4}
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 24 Feb 2024 02:29:41 +0000 (02:29 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 14 Apr 2024 15:57:33 +0000 (18:57 +0300)
commit6e29509abc79dcd0adb3c9ec848c2e95a158efc4
tree6fb4ba844d9f1fca7285c8b97865f6ca4931b984
parente2dfadfd079beb48e3e2c696b2b8358bfc7b7aab
linux-user/x86_64: Handle the vsyscall page in open_self_maps_{2,4}

This is the only case in which we expect to have no host memory backing
for a guest memory page, because in general linux user processes cannot
map any pages in the top half of the 64-bit address space.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2170
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit 4ef1f559f270c66b3ffc23f6c845ff3d008c6356)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
linux-user/syscall.c