]> git.ipfire.org Git - thirdparty/qemu.git/commit
meson: Only allow CONFIG_USER_ONLY from certain source sets
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 13 Mar 2025 03:24:44 +0000 (20:24 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Apr 2025 21:08:44 +0000 (14:08 -0700)
commit8916c373a3fd56938f1b7d57010491a0b9662b1e
tree486e2bde75d3fefe033ffceb016192ec83bc3817
parente4610f38095a3ae01177fe67fd70e4d66b683259
meson: Only allow CONFIG_USER_ONLY from certain source sets

Poison CONFIG_USER_ONLY and CONFIG_SOFTMMU unless
the compilation unit is in specific_ss, libuser_ss,
or libsystem_ss.  This is intended to prevent files
being incorrectly added to common_ss.

Remove #ifndef CONFIG_USER_ONLY / #error / #endif blocks.
All they do is trigger the poison error.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/exec/poison.h
include/hw/hw.h
include/system/confidential-guest-support.h
include/system/replay.h
include/system/xen.h
meson.build