xref: /qemu/accel/stubs/whpx-stub.c (revision 091479301f96d0e1df0ab12f18d1b265979cba47)
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 "cpu.h"
13 #include "sysemu/whpx.h"
14 
15 int whpx_init_vcpu(CPUState *cpu)
16 {
17     return -1;
18 }
19 
20 int whpx_vcpu_exec(CPUState *cpu)
21 {
22     return -1;
23 }
24 
25 void whpx_destroy_vcpu(CPUState *cpu)
26 {
27 }
28 
29 void whpx_vcpu_kick(CPUState *cpu)
30 {
31 }
32 
33 void whpx_cpu_synchronize_state(CPUState *cpu)
34 {
35 }
36 
37 void whpx_cpu_synchronize_post_reset(CPUState *cpu)
38 {
39 }
40 
41 void whpx_cpu_synchronize_post_init(CPUState *cpu)
42 {
43 }
44 
45 void whpx_cpu_synchronize_pre_loadvm(CPUState *cpu)
46 {
47 }
48