[IA64] ia64 counter part of 5b44cfde9666.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Wed, 7 Jan 2009 05:27:03 +0000 (14:27 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Wed, 7 Jan 2009 05:27:03 +0000 (14:27 +0900)
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@valinux.co.jp>
tools/libxc/ia64/xc_ia64_hvm_build.c

index 89f1143203c9963f48479a2e08bd5de10088d356..291679e7ea25e18f0d6a43531af4a4c57125163a 100644 (file)
@@ -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
  */