mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
b9bc6169de
Signed-off-by: Kamil Rytarowski <kamil@NetBSD.org> Signed-off-by: Reinoud Zandijk <reinoud@NetBSD.org> Message-Id: <20210402202535.11550-4-reinoud@NetBSD.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
32 lines
749 B
C
32 lines
749 B
C
/*
|
|
* QEMU Hardware accelerators support
|
|
*
|
|
* Copyright 2016 Google, Inc.
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*
|
|
*/
|
|
|
|
#ifndef QEMU_HW_ACCEL_H
|
|
#define QEMU_HW_ACCEL_H
|
|
|
|
#include "hw/core/cpu.h"
|
|
#include "sysemu/hax.h"
|
|
#include "sysemu/kvm.h"
|
|
#include "sysemu/hvf.h"
|
|
#include "sysemu/whpx.h"
|
|
#include "sysemu/nvmm.h"
|
|
|
|
void cpu_synchronize_state(CPUState *cpu);
|
|
void cpu_synchronize_post_reset(CPUState *cpu);
|
|
void cpu_synchronize_post_init(CPUState *cpu);
|
|
void cpu_synchronize_pre_loadvm(CPUState *cpu);
|
|
|
|
static inline bool cpu_check_are_resettable(void)
|
|
{
|
|
return kvm_enabled() ? kvm_cpu_check_are_resettable() : true;
|
|
}
|
|
|
|
#endif /* QEMU_HW_ACCEL_H */
|