aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/hvf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sysemu/hvf.h')
-rw-r--r--include/sysemu/hvf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sysemu/hvf.h b/include/sysemu/hvf.h
index 6d3ee4fdb7..760d6c79a2 100644
--- a/include/sysemu/hvf.h
+++ b/include/sysemu/hvf.h
@@ -13,6 +13,8 @@
#ifndef HVF_H
#define HVF_H
+#include "sysemu/accel.h"
+
#ifdef CONFIG_HVF
uint32_t hvf_get_supported_cpuid(uint32_t func, uint32_t idx,
int reg);
@@ -33,6 +35,7 @@ void hvf_vcpu_destroy(CPUState *);
#define TYPE_HVF_ACCEL ACCEL_CLASS_NAME("hvf")
+typedef struct HVFState HVFState;
#define HVF_STATE(obj) \
OBJECT_CHECK(HVFState, (obj), TYPE_HVF_ACCEL)