]> Git Repo - qemu.git/blame - include/sysemu/whpx.h
target/arm: Add BT and BTYPE to tb->flags
[qemu.git] / include / sysemu / whpx.h
CommitLineData
29b22c79
JTV
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
29b22c79
JTV
16#include "qemu-common.h"
17
18int whpx_init_vcpu(CPUState *cpu);
19int whpx_vcpu_exec(CPUState *cpu);
20void whpx_destroy_vcpu(CPUState *cpu);
21void whpx_vcpu_kick(CPUState *cpu);
22
23
24void whpx_cpu_synchronize_state(CPUState *cpu);
25void whpx_cpu_synchronize_post_reset(CPUState *cpu);
26void whpx_cpu_synchronize_post_init(CPUState *cpu);
27void whpx_cpu_synchronize_pre_loadvm(CPUState *cpu);
28
29#ifdef CONFIG_WHPX
30
31int whpx_enabled(void);
32
33#else /* CONFIG_WHPX */
34
35#define whpx_enabled() (0)
36
37#endif /* CONFIG_WHPX */
38
39#endif /* QEMU_WHPX_H */
This page took 0.085694 seconds and 4 git commands to generate.