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/
Home Products Support Community News


[Xen-ia64-devel] [Patch] Support domU of coredump on ia64

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [Patch] Support domU of coredump on ia64
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Fri, 21 Jul 2006 19:14:35 +0900
Delivery-date: Fri, 21 Jul 2006 03:16:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx

This patch support domU of coredump on ia64.
xen_panic_event() is registered to panic_notifier_list,
and xen_panic_event() call HYPERVISOR_shutdown(SHUTDOWN_crash) 
at panic time.
If xend notify crashed status, xend call dumpCore()
and create domU's core in /var/xen/dump.

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

I tested the following step
(I used a attached crash.c to panic domU.)

1. xm create -c domU
2. insmod crash.ko  (in domU)
3. checked /var/xen/dump and there was domU's core.
   I check domU's core by using size and strings.

Best Regards,

Akio Takebe

Attachment: dumpcore.patch
Description: Binary data

Attachment: crash.c
Description: Binary data

Attachment: Makefile
Description: Binary data

Xen-ia64-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>