WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Remove unnecessary check from HVM builder

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Remove unnecessary check from HVM builder.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Feb 2007 12:15:27 -0800
Delivery-date: Fri, 16 Feb 2007 12:20:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Remove unnecessary check from HVM builder., Xen patchbot-unstable <=