From 13b48fb00e61dc7662da27c020c3263b74374acc Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Wed, 14 Apr 2021 13:20:01 +0200 Subject: include/sysemu: Poison all accelerator CONFIG switches in common code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We are already poisoning CONFIG_KVM since this switch is not working in common code. Do the same with the other accelerator switches, too (except for CONFIG_TCG, which is special, since it is also defined in config-host.h). Message-Id: <20210414112004.943383-2-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Thomas Huth --- include/exec/poison.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/exec') diff --git a/include/exec/poison.h b/include/exec/poison.h index 8fc7530b6e..a527def5f0 100644 --- a/include/exec/poison.h +++ b/include/exec/poison.h @@ -83,8 +83,12 @@ #pragma GCC poison CONFIG_SPARC_DIS #pragma GCC poison CONFIG_XTENSA_DIS +#pragma GCC poison CONFIG_HAX +#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 #endif -- cgit v1.2.3