[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.2-testing] x86: Fix kexec reservation



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1211537086 -3600
# Node ID e75c00f319290898e4bc9fd70f611cf6f338c8e0
# Parent  75e018812e6cc1813cb0942521245c578380be53
x86: Fix kexec reservation

The reservation of space for the kexec area in
kexec_reserve_area is incorrect. It specifies the
start address and size to reserve_e820_mem when
the args should be start and end.

Bug found and fixed by Dave Anderson.

Signed-off-by: Bill Burns <bburns@xxxxxxxxxx>
xen-unstable changeset:   17653:e66aefdfedcca8319f7ecf9c8d742ae157c2d690
xen-unstable date:        Mon May 19 09:43:42 2008 +0100
---
 xen/arch/x86/setup.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 75e018812e6c -r e75c00f31929 xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c      Fri May 23 11:04:19 2008 +0100
+++ b/xen/arch/x86/setup.c      Fri May 23 11:04:46 2008 +0100
@@ -359,7 +359,7 @@ void __init kexec_reserve_area(struct e8
 
     is_reserved = 1;
 
-    if ( !reserve_e820_ram(e820, kdump_start, kdump_size) )
+    if ( !reserve_e820_ram(e820, kdump_start, kdump_start + kdump_size) )
     {
         printk("Kdump: DISABLED (failed to reserve %luMB (%lukB) at 0x%lx)"
                "\n", kdump_size >> 20, kdump_size >> 10, kdump_start);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.