aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-04-30 08:54:23 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-06-05 12:04:29 -0700
commitd31b84041d4353ef310ffde23c87b78c2aa32ead (patch)
tree8e57f2f8ca688390bfe68168bf88060fde53141a /scripts
parent6fcc02292c74a271e8f377f25b6818ea5c1f36ff (diff)
downloadqemu-d31b84041d4353ef310ffde23c87b78c2aa32ead.zip
qemu-d31b84041d4353ef310ffde23c87b78c2aa32ead.tar.gz
qemu-d31b84041d4353ef310ffde23c87b78c2aa32ead.tar.bz2
exec/poison: Do not poison CONFIG_SOFTMMU
If CONFIG_USER_ONLY is ok generically, so is CONFIG_SOFTMMU, because they are exactly opposite. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make-config-poison.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/make-config-poison.sh b/scripts/make-config-poison.sh
index 1892854..2b36907 100755
--- a/scripts/make-config-poison.sh
+++ b/scripts/make-config-poison.sh
@@ -4,11 +4,12 @@ if test $# = 0; then
exit 0
fi
-# Create list of config switches that should be poisoned in common code...
-# but filter out CONFIG_TCG and CONFIG_USER_ONLY which are special.
+# Create list of config switches that should be poisoned in common code,
+# but filter out several which are handled manually.
exec sed -n \
-e' /CONFIG_TCG/d' \
-e '/CONFIG_USER_ONLY/d' \
+ -e '/CONFIG_SOFTMMU/d' \
-e '/^#define / {' \
-e 's///' \
-e 's/ .*//' \