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-ia64-devel] Re: [Xen-devel] Re: [PATCH] kexec: framework and i386 (

Hi, Ian and Horms

I add the nmi=kdump option as Ian suggested.
What do you think about it?

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

diff -r 089696e0c603 xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c      Thu May 17 11:42:46 2007 +0100
+++ b/xen/arch/x86/traps.c      Thu May 31 02:25:02 2007 +0900
@@ -1897,6 +1897,7 @@ asmlinkage void io_check_error(struct cp
     {
     case 'd': /* 'dom0' */
         nmi_dom0_report(_XEN_NMIREASON_io_error);
+    case 'k': /* 'kdump' */
     case 'i': /* 'ignore' */
         break;
     default:  /* 'fatal' */
@@ -1916,6 +1917,8 @@ static void unknown_nmi_error(unsigned c
     {
     case 'd': /* 'dom0' */
         nmi_dom0_report(_XEN_NMIREASON_unknown);
+    case 'k': /* 'kdump' */
+        kexec_crash();
     case 'i': /* 'ignore' */
         break;
     default:  /* 'fatal' */


Best Regards,

Akio Takebe


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