qemu/include/sysemu/hw_accel.h
<<
>>
Prefs
   1/*
   2 * QEMU Hardware accelerators support
   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
  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"
  19#include "sysemu/nvmm.h"
  20
  21void cpu_synchronize_state(CPUState *cpu);
  22void cpu_synchronize_post_reset(CPUState *cpu);
  23void cpu_synchronize_post_init(CPUState *cpu);
  24void cpu_synchronize_pre_loadvm(CPUState *cpu);
  25
  26static inline bool cpu_check_are_resettable(void)
  27{
  28    return kvm_enabled() ? kvm_cpu_check_are_resettable() : true;
  29}
  30
  31#endif /* QEMU_HW_ACCEL_H */
  32