target/i386: Check for USER_ONLY definition instead of SOFTMMU one
commit1da389c5dba3efca5de6b983cf788054880de432
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 4 Oct 2023 08:22:39 +0000 (4 10:22 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 7 Oct 2023 17:02:33 +0000 (7 19:02 +0200)
treefe7afb2c4d4721f697d3736fd249233af1b8f2dc
parentf05142d511e86d8e97967d21f205d990dfc634de
target/i386: 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.

(target/ was cleaned from invalid CONFIG_SOFTMMU uses at
commit cab35c73be, but these files were merged few days
after, thus missed the cleanup.)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004082239.27251-1-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c
target/i386/tcg/misc_helper.c
target/i386/tcg/translate.c