aboutsummaryrefslogtreecommitdiff
path: root/xen-stub.c
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2010-08-19 12:27:56 +0100
committerAlexander Graf <agraf@suse.de>2011-05-08 10:10:00 +0200
commit3285cf4fe78b4b83b70b9306cc97968b414a6e9d (patch)
tree1e95a4a1f27382ab7bacc9825b375d33228ad18e /xen-stub.c
parentd5b93ddfefe63d5869a8eb97ea3474867d3b105b (diff)
xen: Add initialisation of Xen
The xenpv machine use the common init function. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'xen-stub.c')
-rw-r--r--xen-stub.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/xen-stub.c b/xen-stub.c
new file mode 100644
index 0000000000..beb982ff5a
--- /dev/null
+++ b/xen-stub.c
@@ -0,0 +1,15 @@
+/*
+ * Copyright (C) 2010 Citrix Ltd.
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2. See
+ * the COPYING file in the top-level directory.
+ *
+ */
+
+#include "qemu-common.h"
+#include "hw/xen.h"
+
+int xen_init(void)
+{
+ return -ENOSYS;
+}