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 
whpx_init_vcpu(CPUState * cpu)15 int whpx_init_vcpu(CPUState *cpu)
16 {
17     return -1;
18 }
19 
whpx_vcpu_exec(CPUState * cpu)20 int whpx_vcpu_exec(CPUState *cpu)
21 {
22     return -1;
23 }
24 
whpx_destroy_vcpu(CPUState * cpu)25 void whpx_destroy_vcpu(CPUState *cpu)
26 {
27 }
28 
whpx_vcpu_kick(CPUState * cpu)29 void whpx_vcpu_kick(CPUState *cpu)
30 {
31 }
32 
whpx_cpu_synchronize_state(CPUState * cpu)33 void whpx_cpu_synchronize_state(CPUState *cpu)
34 {
35 }
36 
whpx_cpu_synchronize_post_reset(CPUState * cpu)37 void whpx_cpu_synchronize_post_reset(CPUState *cpu)
38 {
39 }
40 
whpx_cpu_synchronize_post_init(CPUState * cpu)41 void whpx_cpu_synchronize_post_init(CPUState *cpu)
42 {
43 }
44 
whpx_cpu_synchronize_pre_loadvm(CPUState * cpu)45 void whpx_cpu_synchronize_pre_loadvm(CPUState *cpu)
46 {
47 }
48