plain text document attachment (lguest64-dump-panic.patch)
it's nice to see a back trace dump when we do a panic.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Glauber de Oliveira Costa <glommer@gmail.com>
Cc: Chris Wright <chrisw@sous-sol.org>
Index: work-pv/kernel/panic.c
==================================================================---
work-pv.orig/kernel/panic.c
+++ work-pv/kernel/panic.c
@@ -78,6 +78,7 @@ NORET_TYPE void panic(const char * fmt,
vsnprintf(buf, sizeof(buf), fmt, args);
va_end(args);
printk(KERN_EMERG "Kernel panic - not syncing: %s\n",buf);
+ dump_stack();
bust_spinlocks(0);
/*
--