]> git.proxmox.com Git - mirror_qemu.git/commit
accel/tcg: Relax va restrictions on 64-bit guests
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 13 May 2020 17:51:30 +0000 (18:51 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 15 May 2020 14:25:16 +0000 (15:25 +0100)
commit7d8cbbabcb1234ffba9a946083073a5e01cdc020
treedba9b449c5970e0757f433d0333d77b87ba9e046
parente307c192ff95c7c30d1c2fa02409686d450c1ccd
accel/tcg: Relax va restrictions on 64-bit guests

We cannot at present limit a 64-bit guest to a virtual address
space smaller than the host.  It will mostly work to ignore this
limitation, except if the guest uses high bits of the address
space for tags.  But it will certainly work better, as presently
we can wind up failing to allocate the guest stack.

Widen our user-only page tree to the host or abi pointer width.
Remove the workaround for this problem from target/alpha.
Always validate guest addresses vs reserved_va, as there we
control allocation ourselves.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200513175134.19619-7-alex.bennee@linaro.org>
accel/tcg/translate-all.c
include/exec/cpu-all.h
target/alpha/cpu-param.h