aboutsummaryrefslogtreecommitdiffstats
path: root/hw/xen.h
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2010-06-30 12:58:34 +0100
committerAlexander Graf <agraf@suse.de>2011-05-08 10:10:00 +0200
commit29d3ccde82a0d782b81da39342fb3e3bcf547537 (patch)
tree3042f903723b14b37f5887a32f849bbae0b4a411 /hw/xen.h
parente0e7e67b455afa254356acdac1254653f6eed47b (diff)
xen: Add xenfv machine
Introduce the Xen FV (Fully Virtualized) machine to Qemu, some more Xen specific call will be added in further patches. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Alexander Graf <agraf@suse.de>
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 1fefe3ad2..bb4dcb5d1 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 */