aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_arch.h
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-05-30 08:57:50 +0100
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-05-30 08:57:50 +0100
commit25801d01252b22ef4bcef405108414d59e91ae4f (patch)
tree7800c3d228f8b0168b33d3828d59fa7600f5ae28 /tools/libxl/libxl_arch.h
parent03fc6103c678b319ab0bf0c3771310a061371615 (diff)
downloadxen-25801d01252b22ef4bcef405108414d59e91ae4f.tar.gz
xen-25801d01252b22ef4bcef405108414d59e91ae4f.tar.bz2
xen-25801d01252b22ef4bcef405108414d59e91ae4f.zip
libxl: Introduce libxl__arch_domain_create
Introduce an arch specific internal domain creation function. The X86 version of libxl__arch_domain_create is going to be introduced in the next few patches, to make it easier to spot all the code motions. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Ian Jackson <Ian.Jackson@eu.citrix.com> Acked-by: Ian Campbell <Ian.Campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/libxl_arch.h')
-rw-r--r--tools/libxl/libxl_arch.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/libxl/libxl_arch.h b/tools/libxl/libxl_arch.h
new file mode 100644
index 0000000000..abe6685993
--- /dev/null
+++ b/tools/libxl/libxl_arch.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2012 Citrix Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation; version 2.1 only. with the special
+ * exception on linking described in file LICENSE.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ */
+
+#ifndef LIBXL_ARCH_H
+#define LIBXL_ARCH_H
+
+/* arch specific internal domain creation function */
+int libxl__arch_domain_create(libxl__gc *gc, libxl_domain_config *d_config,
+ uint32_t domid);
+
+#endif