]> xenbits.xensource.com Git - people/liuw/stubdom.git/commitdiff
Revert 26109:6ccfe4d29f95
authorIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 26 Oct 2012 10:39:42 +0000 (11:39 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 26 Oct 2012 10:39:42 +0000 (11:39 +0100)
This changeset was contaminated by changes hanging around in my
working tree.  Sorry :-(.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
grub/kexec.c

index b21c91ae994976aae8829be97500cf460e5a4486..06bef52ac2f11bb26a9beb72bbcf9bd85e4ec089 100644 (file)
@@ -137,10 +137,6 @@ void kexec(void *kernel, long kernel_size, void *module, long module_size, char
     dom = xc_dom_allocate(xc_handle, cmdline, features);
     dom->allocate = kexec_allocate;
 
-    /* We are using guest owned memory, therefore no limits. */
-    xc_dom_kernel_max_size(dom, 0);
-    xc_dom_ramdisk_max_size(dom, 0);
-
     dom->kernel_blob = kernel;
     dom->kernel_size = kernel_size;