# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1231306023 -32400
# Node ID 7152abcd560d9b94113dda60fdae5b9b5ef1d48b
# Parent e1b8cc945d0407bc03be4d23390b4e59dc8fbe31
[IA64] ia64 counter part of 5b44cfde9666.
This patch defines ia64 xc_hvm_build_target_mem() which
is referenced by xc.c.
Without this patch, xend doesn't boot complaining
that symbol, xc_hvm_build_target_mem, is missing.
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
tools/libxc/ia64/xc_ia64_hvm_build.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+)
diff -r e1b8cc945d04 -r 7152abcd560d tools/libxc/ia64/xc_ia64_hvm_build.c
--- a/tools/libxc/ia64/xc_ia64_hvm_build.c Wed Jan 07 12:20:31 2009 +0900
+++ b/tools/libxc/ia64/xc_ia64_hvm_build.c Wed Jan 07 14:27:03 2009 +0900
@@ -1099,6 +1099,22 @@ error_out:
return -1;
}
+/* xc_hvm_build_target_mem:
+ * Create a domain for a pre-ballooned virtualized Linux, using
+ * files/filenames. If target < memsize, domain is created with
+ * memsize pages marked populate-on-demand, and with a PoD cache size
+ * of target. If target == memsize, pages are populated normally.
+ */
+int xc_hvm_build_target_mem(int xc_handle,
+ uint32_t domid,
+ int memsize,
+ int target,
+ const char *image_name)
+{
+ /* XXX:PoD isn't supported yet */
+ return xc_hvm_build(xc_handle, domid, target, image_name);
+}
+
/*
* From asm/pgtable.h
*/
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|