accel: move qtest CpusAccel functions to a common location
[qemu.git] / include / sysemu / whpx.h
1 /*
2 * QEMU Windows Hypervisor Platform accelerator (WHPX) support
3 *
4 * Copyright Microsoft, Corp. 2017
5 *
6 * Authors:
7 *
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.
10 *
11 */
12
13 #ifndef QEMU_WHPX_H
14 #define QEMU_WHPX_H
15
16 #ifdef CONFIG_WHPX
17
18 int whpx_enabled(void);
19
20 #else /* CONFIG_WHPX */
21
22 #define whpx_enabled() (0)
23
24 #endif /* CONFIG_WHPX */
25
26 #endif /* QEMU_WHPX_H */