[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] [pvops-dom0] Adding MCA logging support in pv_ops



>>> "Ke, Liping" <liping.ke@xxxxxxxxx> 10.08.09 05:08 >>>
>From e0815ca1fe7fbcc2f1de23608148e8d612974f2b Mon Sep 17 00:00:00 2001
>From: Liping Ke <liping.ke@xxxxxxxxx>
>Date: Mon, 10 Aug 2009 11:04:21 +0800
>Subject: [PATCH] Add MCA Logging support in pv-ops
>
>This patch is backport from previous DOM0(2.6.18) cs: 75e5bfa7fbdc
>
>When an MCE/CMCI error happens (or by polling), the related error
>information will be sent to privileged pv-ops domain by XEN. This
>patch will help to fetch the xen-logged information by hypercall
>and then convert XEN-format log into Linux format MCELOG. It makes
>using current available mcelog tools for native Linux possible.
>
>With this patch, after mce/cmci error log information is sent to
>pv-ops guest, Running mcelog tools in the guest, you will get same
>detailed decoded mce information as in Native Linux.
>
>Signed-off-by: Liping Ke <liping.ke@xxxxxxxxx>
>Signed-off-by: Yunhong Jiang <yunhong.jiang@xxxxxxxxx>

The order of operations in bind_virq_for_mce() needs to change: You must
not register the vIRQ handler if any of the memory allocations failed,
otherwise the interrupt handler will de-reference NULL.

Jan


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.