summaryrefslogtreecommitdiff
path: root/hw/xen.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xen.h')
-rw-r--r--hw/xen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/xen.h b/hw/xen.h
index 1fefe3ad25..bb4dcb5d19 100644
--- a/hw/xen.h
+++ b/hw/xen.h
@@ -30,5 +30,11 @@ static inline int xen_enabled(void)
}
int xen_init(void);
+int xen_hvm_init(void);
+void xen_vcpu_init(void);
+
+#if defined(CONFIG_XEN) && CONFIG_XEN_CTRL_INTERFACE_VERSION < 400
+# define HVM_MAX_VCPUS 32
+#endif
#endif /* QEMU_HW_XEN_H */