]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user/arm: Take more care allocating commpage
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 22 Mar 2023 15:00:27 +0000 (08:00 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 28 Mar 2023 22:23:10 +0000 (15:23 -0700)
commit4f5c67f8df7f26e559509c68c45e652709edd23f
treeafdfb2474d9a73f9e650810dbd819d470473cfee
parent95059f9c313a7fbd7f22e4cdc1977c0393addc7b
linux-user/arm: Take more care allocating commpage

User setting of -R reserved_va can lead to an assertion
failure in page_set_flags.  Sanity check the value of
reserved_va and print an error message instead.  Do not
allocate a commpage at all for m-profile cpus.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/elfload.c