]>
Commit | Line | Data |
---|---|---|
b3946626 | 1 | /* |
430065da | 2 | * QEMU Hardware accelerators support |
b3946626 VP |
3 | * |
4 | * Copyright 2016 Google, Inc. | |
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 | #ifndef QEMU_HW_ACCEL_H | |
12 | #define QEMU_HW_ACCEL_H | |
13 | ||
2e5b09fd | 14 | #include "hw/core/cpu.h" |
b3946626 VP |
15 | #include "sysemu/hax.h" |
16 | #include "sysemu/kvm.h" | |
4bb19f98 | 17 | #include "sysemu/hvf.h" |
19306806 | 18 | #include "sysemu/whpx.h" |
b3946626 | 19 | |
430065da CF |
20 | void cpu_synchronize_state(CPUState *cpu); |
21 | void cpu_synchronize_post_reset(CPUState *cpu); | |
22 | void cpu_synchronize_post_init(CPUState *cpu); | |
23 | void cpu_synchronize_pre_loadvm(CPUState *cpu); | |
75e972da | 24 | |
92a5199b TL |
25 | static inline bool cpu_check_are_resettable(void) |
26 | { | |
27 | return kvm_enabled() ? kvm_cpu_check_are_resettable() : true; | |
28 | } | |
29 | ||
b3946626 | 30 | #endif /* QEMU_HW_ACCEL_H */ |