summaryrefslogtreecommitdiff
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
commitc5dd480d7a26dabd32db02fb09c342627d72aaf6 (patch)
tree1e95a4a1f27382ab7bacc9825b375d33228ad18e /xen-stub.c
parentb3c03678da85c19728f3bc08b35d83159da795cd (diff)
downloadqemu-c5dd480d7a26dabd32db02fb09c342627d72aaf6.tar.gz
qemu-c5dd480d7a26dabd32db02fb09c342627d72aaf6.tar.bz2
qemu-c5dd480d7a26dabd32db02fb09c342627d72aaf6.zip
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;
+}