|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-changelog
[Xen-changelog] [xen-unstable] x86: Fix kexec reservation
 
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1211186622 -3600
# Node ID e66aefdfedcca8319f7ecf9c8d742ae157c2d690
# Parent  f34f771f9ddd86376dd5796709deb4608d871eb1
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/arch/x86/setup.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
diff -r f34f771f9ddd -r e66aefdfedcc xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c      Mon May 19 09:42:18 2008 +0100
+++ b/xen/arch/x86/setup.c      Mon May 19 09:43:42 2008 +0100
@@ -362,7 +362,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
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-changelog] [xen-unstable] x86: Fix kexec reservation,
Xen patchbot-unstable <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |