[PATCH 114/147] exec/poison: KVM_HAVE_MCE_INJECTION can now be poisoned

Richard Henderson posted 147 patches 5 months, 3 weeks ago
There is a newer version of this series
[PATCH 114/147] exec/poison: KVM_HAVE_MCE_INJECTION can now be poisoned
Posted by Richard Henderson 5 months, 3 weeks ago
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>

We prevent common code to use this define by mistake.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250325045915.994760-19-pierrick.bouvier@linaro.org>
---
 include/exec/poison.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/exec/poison.h b/include/exec/poison.h
index f267da6083..a09e0c1263 100644
--- a/include/exec/poison.h
+++ b/include/exec/poison.h
@@ -73,4 +73,6 @@
 #pragma GCC poison CONFIG_SOFTMMU
 #endif
 
+#pragma GCC poison KVM_HAVE_MCE_INJECTION
+
 #endif
-- 
2.43.0