[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [Patch] Enable "sysrq c" handler for domU coredump
Hi, In the case of linux, crash_kexec() is occured by "sysrq c". In the case of DomainU on xen, Help is occured by "sysrq c" now. So The way of dumping DomainU's memory manualy is nothing. I fix this issue by the following way. 1. Panic is occured by "sysrq c" on both Domain0 and DomainU. 2. On DomainU, coredump is generated in /var/xen/dump (on Domain0). On Domain0, crash_kexec() is called by panic() if implemented. I tested the below. 1. vi /etc/xen/xend-config.sxp (enabel-dump yes) 2. xm create -c domU echo 1 >/proc/sys/kernel/sysrq (on domU) 3. xm sysrq domU c (on dom0) 4. ls -lh /var/xen/dump Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx> Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx> Best Regards, Akio Takebe Attachment:
xen_sysrq_domUcore.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |