[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 49/52] exec/poison: Do not poison CONFIG_SOFTMMU
From: |
Richard Henderson |
Subject: |
[PULL 49/52] exec/poison: Do not poison CONFIG_SOFTMMU |
Date: |
Mon, 5 Jun 2023 13:15:45 -0700 |
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>
---
include/exec/poison.h | 1 -
scripts/make-config-poison.sh | 5 +++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/exec/poison.h b/include/exec/poison.h
index 256736e11a..e94ee8dfef 100644
--- a/include/exec/poison.h
+++ b/include/exec/poison.h
@@ -85,7 +85,6 @@
#pragma GCC poison CONFIG_HVF
#pragma GCC poison CONFIG_LINUX_USER
#pragma GCC poison CONFIG_KVM
-#pragma GCC poison CONFIG_SOFTMMU
#pragma GCC poison CONFIG_WHPX
#pragma GCC poison CONFIG_XEN
diff --git a/scripts/make-config-poison.sh b/scripts/make-config-poison.sh
index 1892854261..2b36907e23 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/ .*//' \
--
2.34.1
- [PULL 36/52] accel/tcg: Introduce translator_io_start, (continued)
- [PULL 36/52] accel/tcg: Introduce translator_io_start, Richard Henderson, 2023/06/05
- [PULL 37/52] target/ppc: Inline gen_icount_io_start(), Richard Henderson, 2023/06/05
- [PULL 42/52] target/arm: Add missing include of exec/exec-all.h, Richard Henderson, 2023/06/05
- [PULL 44/52] tcg: Fix PAGE/PROT confusion, Richard Henderson, 2023/06/05
- [PULL 45/52] tcg: Move env defines out of NEED_CPU_H in helper-head.h, Richard Henderson, 2023/06/05
- [PULL 40/52] target/mips: Tidy helpers for translation, Richard Henderson, 2023/06/05
- [PULL 41/52] target/*: Add missing includes of exec/translation-block.h, Richard Henderson, 2023/06/05
- [PULL 43/52] accel/tcg: Tidy includes for translator.[ch], Richard Henderson, 2023/06/05
- [PULL 46/52] tcg: Remove target-specific headers from tcg.[ch], Richard Henderson, 2023/06/05
- [PULL 47/52] plugins: Move plugin_insn_append to translator.c, Richard Henderson, 2023/06/05
- [PULL 49/52] exec/poison: Do not poison CONFIG_SOFTMMU,
Richard Henderson <=
- [PULL 50/52] tcg: Build once for system and once for user-only, Richard Henderson, 2023/06/05
- [PULL 52/52] tcg/tcg-op-vec: Remove left over _link_error() definitions, Richard Henderson, 2023/06/05
- [PULL 48/52] plugins: Drop unused headers from exec/plugin-gen.h, Richard Henderson, 2023/06/05
- [PULL 51/52] accel/tcg: Unmap perf_marker, Richard Henderson, 2023/06/05
- Re: [PULL 00/52] tcg patch queue, Richard Henderson, 2023/06/05