]> git.proxmox.com Git - mirror_qemu.git/commit
hw/core/cpu: Check for USER_ONLY definition instead of SOFTMMU one
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 13 Jun 2023 13:33:43 +0000 (15:33 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 20 Jun 2023 08:01:30 +0000 (10:01 +0200)
commit75fe97b429d491d348fde78ec75c6556762b4b87
treea1672418be5fb117594b39b14b1adf9b42598ef6
parent227776b7e2768f9912cfcb6def4c740471cd2170
hw/core/cpu: Check for USER_ONLY definition instead of SOFTMMU one

Since we *might* have user emulation with softmmu,
replace the system emulation check by !user emulation one.

Invert the #ifdef'ry in TCGCPUOps structure for clarity.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230613133347.82210-6-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/hw/core/cpu.h
include/hw/core/tcg-cpu-ops.h