diff -r c637af64effe tools/libxc/xenguest.h --- a/tools/libxc/xenguest.h Fri Mar 13 11:15:13 2009 +0000 +++ b/tools/libxc/xenguest.h Mon Mar 16 15:34:25 2009 +0000 @@ -53,7 +53,7 @@ * * @parm xc_handle a handle to an open hypervisor interface * @parm domid the id of the domain - * @parm mem_mb memory size in megabytes + * @parm start_mem_mb initial memory size in megabytes * @parm image_name name of the kernel image file * @parm ramdisk_name name of the ramdisk image file * @parm cmdline command line string @@ -66,7 +66,7 @@ */ int xc_linux_build(int xc_handle, uint32_t domid, - unsigned int mem_mb, + unsigned int start_mem_mb, const char *image_name, const char *ramdisk_name, const char *cmdline, @@ -82,7 +82,7 @@ int xc_dom_linux_build(int xc_handle, struct xc_dom_image *dom, uint32_t domid, - unsigned int mem_mb, + unsigned int start_mem_mb, const char *image_name, const char *ramdisk_name, unsigned long flags, @@ -97,7 +97,7 @@ * * @parm xc_handle a handle to an open hypervisor interface * @parm domid the id of the domain - * @parm mem_mb memory size in megabytes + * @parm start_mem_mb memory size in megabytes * @parm image_buffer buffer containing kernel image * @parm image_size size of the kernel image buffer * @parm initrd_buffer name of the ramdisk image file @@ -112,7 +112,7 @@ */ int xc_linux_build_mem(int xc_handle, uint32_t domid, - unsigned int mem_mb, + unsigned int start_mem_mb, const char *image_buffer, unsigned long image_size, const char *initrd_buffer, @@ -127,18 +127,18 @@ int xc_hvm_build(int xc_handle, uint32_t domid, - int memsize, + int max_mem_mb, const char *image_name); int xc_hvm_build_target_mem(int xc_handle, uint32_t domid, - int memsize, - int target, + int max_mem_mb, + int start_mem_mb, const char *image_name); int xc_hvm_build_mem(int xc_handle, uint32_t domid, - int memsize, + int max_mem_mb, const char *image_buffer, unsigned long image_size);