include/sysemu: Poison all accelerator CONFIG switches in common code

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é <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Thomas Huth 2021-04-14 13:20:01 +02:00
parent bfaa3b05a9
commit 13b48fb00e
4 changed files with 16 additions and 0 deletions

View file

@ -13,6 +13,8 @@
#ifndef QEMU_WHPX_H
#define QEMU_WHPX_H
#ifdef NEED_CPU_H
#ifdef CONFIG_WHPX
int whpx_enabled(void);
@ -25,4 +27,6 @@ bool whpx_apic_in_platform(void);
#endif /* CONFIG_WHPX */
#endif /* NEED_CPU_H */
#endif /* QEMU_WHPX_H */