[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Remove unnecessary check from HVM builder.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1171550288 0 # Node ID 8f75c7910b9cf35014dc4d2adcfe90f04592ac99 # Parent 9ffe8922414f2a0c8e8471e336f21694d203d1cf Remove unnecessary check from HVM builder. Thanks to Guy Zana for spotting this. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- tools/libxc/xc_hvm_build.c | 9 --------- 1 files changed, 9 deletions(-) diff -r 9ffe8922414f -r 8f75c7910b9c tools/libxc/xc_hvm_build.c --- a/tools/libxc/xc_hvm_build.c Thu Feb 15 14:28:01 2007 +0000 +++ b/tools/libxc/xc_hvm_build.c Thu Feb 15 14:38:08 2007 +0000 @@ -214,15 +214,6 @@ static int setup_guest(int xc_handle, v_start, v_end, elf_uval(&elf, elf.ehdr, e_entry)); - if ( (v_end - v_start) > ((unsigned long long)nr_pages << PAGE_SHIFT) ) - { - PERROR("Initial guest OS requires too much space: " - "(%lluMB is greater than %lluMB limit)\n", - (unsigned long long)(v_end - v_start) >> 20, - ((unsigned long long)nr_pages << PAGE_SHIFT) >> 20); - goto error_out; - } - if ( (page_array = malloc(nr_pages * sizeof(xen_pfn_t))) == NULL ) { PERROR("Could not allocate memory.\n"); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |