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] [linux-2.6.18-xen] xen: fix missing Crash note in /proc/

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xen: fix missing Crash note in /proc/iomem
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 13 Jul 2009 04:00:29 -0700
Delivery-date: Mon, 13 Jul 2009 04:01:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1247482513 -3600
# Node ID b521aaf8895ffa02640302abca968d5605d45450
# Parent  199c5c9a5a5edef596942cffa58fe40e653061a0
xen: fix missing Crash note in /proc/iomem

Missing "Crash note" in /proc/iomem (dom 0) happens on the Xen 3.4.*.
This causes a crash dump cannot be analyzed normally.

Signed-off-by: Itsuro Oda <oda@xxxxxxxxxxxxx>
---
 drivers/xen/core/machine_kexec.c |    8 ++++++++
 1 files changed, 8 insertions(+)

diff -r 199c5c9a5a5e -r b521aaf8895f drivers/xen/core/machine_kexec.c
--- a/drivers/xen/core/machine_kexec.c  Fri Jul 10 11:01:34 2009 +0100
+++ b/drivers/xen/core/machine_kexec.c  Mon Jul 13 11:55:13 2009 +0100
@@ -144,7 +144,15 @@ void __init xen_machine_kexec_setup_reso
 
 void __init xen_machine_kexec_register_resources(struct resource *res)
 {
+       int k;
+       struct resource *r;
+
        request_resource(res, &xen_hypervisor_res);
+       for (k = 0; k < xen_max_nr_phys_cpus; k++) {
+               r = xen_phys_cpus + k;
+               if (r->parent == NULL) /* out of xen_hypervisor_res range */
+                       request_resource(res, r);
+       } 
        machine_kexec_register_resources(res);
 }
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] xen: fix missing Crash note in /proc/iomem, Xen patchbot-linux-2.6.18-xen <=