test/docker/dockerfiles: Add missing packages for acceptance tests
[qemu/ar7.git] / target / i386 / whpx-cpus.h
blobbdb367d1d0b1144e13155899309b961a101abb51
1 /*
2 * Accelerator CPUS Interface
4 * Copyright 2020 SUSE LLC
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 */
10 #ifndef WHPX_CPUS_H
11 #define WHPX_CPUS_H
13 #include "sysemu/cpus.h"
15 extern const CpusAccel whpx_cpus;
17 int whpx_init_vcpu(CPUState *cpu);
18 int whpx_vcpu_exec(CPUState *cpu);
19 void whpx_destroy_vcpu(CPUState *cpu);
20 void whpx_vcpu_kick(CPUState *cpu);
22 void whpx_cpu_synchronize_state(CPUState *cpu);
23 void whpx_cpu_synchronize_post_reset(CPUState *cpu);
24 void whpx_cpu_synchronize_post_init(CPUState *cpu);
25 void whpx_cpu_synchronize_pre_loadvm(CPUState *cpu);
27 /* state subset only touched by the VCPU itself during runtime */
28 #define WHPX_SET_RUNTIME_STATE 1
29 /* state subset modified during VCPU reset */
30 #define WHPX_SET_RESET_STATE 2
31 /* full state set, modified during initialization or on vmload */
32 #define WHPX_SET_FULL_STATE 3
34 #endif /* WHPX_CPUS_H */