mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
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:
parent
bfaa3b05a9
commit
13b48fb00e
4 changed files with 16 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue