monitor: Fix tracepoint crash on JSON syntax error
[qemu/armbru.git] / include / sysemu / whpx.h
blob89592ae4fad18e402a21e56b3b64c7095b514493
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 #include "config-host.h"
17 #include "qemu-common.h"
19 int whpx_init_vcpu(CPUState *cpu);
20 int whpx_vcpu_exec(CPUState *cpu);
21 void whpx_destroy_vcpu(CPUState *cpu);
22 void whpx_vcpu_kick(CPUState *cpu);
25 void whpx_cpu_synchronize_state(CPUState *cpu);
26 void whpx_cpu_synchronize_post_reset(CPUState *cpu);
27 void whpx_cpu_synchronize_post_init(CPUState *cpu);
28 void whpx_cpu_synchronize_pre_loadvm(CPUState *cpu);
30 #ifdef CONFIG_WHPX
32 int whpx_enabled(void);
34 #else /* CONFIG_WHPX */
36 #define whpx_enabled() (0)
38 #endif /* CONFIG_WHPX */
40 #endif /* QEMU_WHPX_H */