The semihosting feature is only meaningful when using TCG.

So far only the ARM/MIPS/LM32 provide the semihosting feature.

Do not enable it by default, and let the few targets requiring
it to manually select it.

Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com>
---
 hw/semihosting/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hw/semihosting/Kconfig b/hw/semihosting/Kconfig
index efe0a30734..06e9262af2 100644
--- a/hw/semihosting/Kconfig
+++ b/hw/semihosting/Kconfig
@@ -1,3 +1,5 @@
 
 config SEMIHOSTING
-       bool
+    bool
+    depends on TCG
+    default n
-- 
2.21.1


Reply via email to