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-devel

[Xen-devel] [Patch][RFC] makedumpfile: fix for xen-3.1.2

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, kexec-ml <kexec@xxxxxxxxxxxxxxxxxxx>, "Ken'ichi Ohmichi" <oomichi@xxxxxxxxxxxxxxxxx>, Itsuro ODA <oda@xxxxxxxxxxxxx>
Subject: [Xen-devel] [Patch][RFC] makedumpfile: fix for xen-3.1.2
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Fri, 04 Apr 2008 11:31:50 +0900
Delivery-date: Thu, 03 Apr 2008 19:34:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

This patch fixes makedumpfile for xen-3.1.
xen-3.1.2+ hypervisor doesn't have idle_pg_table_l3,
we need to find a symbole of idle_pg_table.

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

Best Regards,

Akio Takebe

--- makedumpfile/makedumpfile.c 2008-03-28 11:32:51.000000000 +0900
+++ makedumpfile.mod/makedumpfile.c     2008-04-03 14:58:11.000000000 +0900
@@ -5298,7 +5298,12 @@ get_symbol_info_xen()
         */
        SYMBOL_INIT(pgd_l2, "idle_pg_table_l2");        /* x86 */
        SYMBOL_INIT(pgd_l3, "idle_pg_table_l3");        /* x86-PAE */
+       if (SYMBOL(pgd_l3) == NOT_FOUND_SYMBOL)
+               SYMBOL_INIT(pgd_l3, "idle_pg_table");   /* x86-PAE */
        SYMBOL_INIT(pgd_l4, "idle_pg_table_4");         /* x86_64 */
+       if (SYMBOL(pgd_l4) == NOT_FOUND_SYMBOL)
+               SYMBOL_INIT(pgd_l4, "idle_pg_table");           /* x86_64 */
+
        SYMBOL_INIT(xen_heap_start, "xen_heap_start");  /* ia64 */
        SYMBOL_INIT(xen_pstart, "xen_pstart");          /* ia64 */
        SYMBOL_INIT(frametable_pg_dir, "frametable_pg_dir");    /* ia64 */


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

<Prev in Thread] Current Thread [Next in Thread>