xref: /openbmc/qemu/accel/stubs/whpx-stub.c (revision 2cc75c32e6fcbc1a9732a6589c7dcacf295b5b84)
1 /*
2  * QEMU Windows Hypervisor Platform accelerator (WHPX) stub
3  *
4  * Copyright Microsoft Corp. 2017
5  *
6  * This work is licensed under the terms of the GNU GPL, version 2 or later.
7  * See the COPYING file in the top-level directory.
8  *
9  */
10 
11 #include "qemu/osdep.h"
12 #include "qemu-common.h"
13 #include "cpu.h"
14 #include "sysemu/whpx.h"
15 
16 int whpx_init_vcpu(CPUState *cpu)
17 {
18     return -1;
19 }
20 
21 int whpx_vcpu_exec(CPUState *cpu)
22 {
23     return -1;
24 }
25 
26 void whpx_destroy_vcpu(CPUState *cpu)
27 {
28 }
29 
30 void whpx_vcpu_kick(CPUState *cpu)
31 {
32 }
33 
34 void whpx_cpu_synchronize_state(CPUState *cpu)
35 {
36 }
37 
38 void whpx_cpu_synchronize_post_reset(CPUState *cpu)
39 {
40 }
41 
42 void whpx_cpu_synchronize_post_init(CPUState *cpu)
43 {
44 }
45 
46 void whpx_cpu_synchronize_pre_loadvm(CPUState *cpu)
47 {
48 }
49