virtio: reset device on bad guest index in virtio_load()
[qemu.git] / include / sysemu / hw_accel.h
blobffed6192a371a29fca9811660eece713698b8dc8
1 /*
2 * QEMU Hardware accelerators support
4 * Copyright 2016 Google, Inc.
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.
9 */
11 #ifndef QEMU_HW_ACCEL_H
12 #define QEMU_HW_ACCEL_H
14 #include "hw/core/cpu.h"
15 #include "sysemu/hax.h"
16 #include "sysemu/kvm.h"
17 #include "sysemu/hvf.h"
18 #include "sysemu/whpx.h"
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);
25 #endif /* QEMU_HW_ACCEL_H */