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)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 1 Mar 2024 00:24:24 +0000 (14:24 -1000)
commit4ef1f559f270c66b3ffc23f6c845ff3d008c6356
tree26c62dea77d627f84f0dc9643e5de459737f376e
parentff202817dc2b0b3b42992fa7f1ce503f081068fe
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>
linux-user/syscall.c