]> git.proxmox.com Git - mirror_qemu.git/commit
exec/cpu-defs: Check for SOFTMMU instead of !USER_ONLY
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 5 Jun 2023 23:02:16 +0000 (01:02 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 20 Jun 2023 08:01:30 +0000 (10:01 +0200)
commit708906dcd6e10c3016d2ca1e76e3d40dc30f2fd6
treeab67c9b2b7faa9910fa19dd1d1938fa75c8fb0da
parenta3e7f7022901c1d7e59ae477295f1a96b79bd3b9
exec/cpu-defs: Check for SOFTMMU instead of !USER_ONLY

We want to check the softmmu tlb availability, not
if we are targetting system emulation. Besides, this
code could be used by user emulation in the future.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230605230216.17202-1-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/exec/cpu-defs.h