From 7e9a3beb1ec10a33b4c04e6a242644e89c6f5f9e Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Wed, 7 Jan 2009 14:27:03 +0900 Subject: [PATCH] [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 --- tools/libxc/ia64/xc_ia64_hvm_build.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tools/libxc/ia64/xc_ia64_hvm_build.c b/tools/libxc/ia64/xc_ia64_hvm_build.c index 89f1143203..291679e7ea 100644 --- a/tools/libxc/ia64/xc_ia64_hvm_build.c +++ b/tools/libxc/ia64/xc_ia64_hvm_build.c @@ -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 */ -- 2.30.2