[Xen-changelog] [xen-unstable] [domain builder] Remove unnecessary alignment of virtual address base.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Xen-changelog] [xen-unstable] [domain builder] Remove unnecessary alignment of virtual address base.

Xen patchbot-unstable
# HG changeset patch
# User Christian Limpach <[hidden email]>
# Date 1172954558 0
# Node ID 25c0b660f7c6223feaf2387e62a1899f2c85b196
# Parent  29d4bca7a5037be8daa19e195b38191b02590c49
[domain builder] Remove unnecessary alignment of virtual address base.
Unbreaks loading NetBSD kernels with the new ^^ domain builder.

Signed-off-by: Christian Limpach <[hidden email]>
---
 tools/libxc/xc_dom_core.c |    3 ---
 1 files changed, 3 deletions(-)

diff -r 29d4bca7a503 -r 25c0b660f7c6 tools/libxc/xc_dom_core.c
--- a/tools/libxc/xc_dom_core.c Fri Mar 02 23:01:36 2007 +0000
+++ b/tools/libxc/xc_dom_core.c Sat Mar 03 20:42:38 2007 +0000
@@ -721,9 +721,6 @@ int xc_dom_build_image(struct xc_dom_ima
     }
     page_size = XC_DOM_PAGE_SIZE(dom);
 
-    /* 4MB align virtual base address */
-    dom->parms.virt_base &= ~(((uint64_t)1<<22)-1);
-
     /* load kernel */
     if ( xc_dom_alloc_segment(dom, &dom->kernel_seg, "kernel",
                               dom->kernel_seg.vstart,

_______________________________________________
Xen-changelog mailing list
[hidden email]
http://lists.xensource.com/xen-changelog