ia64/xen-unstable

changeset 18998:7152abcd560d

[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@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Wed Jan 07 14:27:03 2009 +0900 (2009-01-07)
parents e1b8cc945d04
children b0beee268543
files tools/libxc/ia64/xc_ia64_hvm_build.c
line diff
     1.1 --- a/tools/libxc/ia64/xc_ia64_hvm_build.c	Wed Jan 07 12:20:31 2009 +0900
     1.2 +++ b/tools/libxc/ia64/xc_ia64_hvm_build.c	Wed Jan 07 14:27:03 2009 +0900
     1.3 @@ -1099,6 +1099,22 @@ error_out:
     1.4      return -1;
     1.5  }
     1.6  
     1.7 +/* xc_hvm_build_target_mem: 
     1.8 + * Create a domain for a pre-ballooned virtualized Linux, using
     1.9 + * files/filenames.  If target < memsize, domain is created with
    1.10 + * memsize pages marked populate-on-demand, and with a PoD cache size
    1.11 + * of target.  If target == memsize, pages are populated normally.
    1.12 + */
    1.13 +int xc_hvm_build_target_mem(int xc_handle,
    1.14 +                            uint32_t domid,
    1.15 +                            int memsize,
    1.16 +                            int target,
    1.17 +                            const char *image_name)
    1.18 +{
    1.19 +    /* XXX:PoD isn't supported yet */
    1.20 +    return xc_hvm_build(xc_handle, domid, target, image_name);
    1.21 +}
    1.22 +
    1.23  /*
    1.24   * From asm/pgtable.h
    1.25   */