osdep: include glib-compat.h before other QEMU headers
[qemu/ar7.git] / include / sysemu / whpx.h
blob8ca1c1c4ac71428c15b957fc1cd02e34091f240c
1 /*
2 * QEMU Windows Hypervisor Platform accelerator (WHPX) support
4 * Copyright Microsoft, Corp. 2017
6 * Authors:
8 * This work is licensed under the terms of the GNU GPL, version 2 or later.
9 * See the COPYING file in the top-level directory.
13 #ifndef QEMU_WHPX_H
14 #define QEMU_WHPX_H
16 #ifdef CONFIG_WHPX
18 int whpx_enabled(void);
19 bool whpx_apic_in_platform(void);
21 #else /* CONFIG_WHPX */
23 #define whpx_enabled() (0)
24 #define whpx_apic_in_platform() (0)
26 #endif /* CONFIG_WHPX */
28 #endif /* QEMU_WHPX_H */