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

[Xen-changelog] [xen-3.4-testing] Disable watchdog in dump_registers



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1260783729 0
# Node ID e10af233db1e0ac9e1dc6a56eb51f8247b93ec4a
# Parent  ae60cbc5bb6d731a0b7d1bad829a853335ae0e68
Disable watchdog in dump_registers

Avoids triggering watchdog if serial port output is slow.

Signed-off-by: Andrew Lyon <andrew.lyon@xxxxxxxxx>
xen-unstable changeset:   20632:40a598cb0e91
xen-unstable date:        Mon Dec 14 07:57:23 2009 +0000
---
 xen/common/keyhandler.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r ae60cbc5bb6d -r e10af233db1e xen/common/keyhandler.c
--- a/xen/common/keyhandler.c   Mon Dec 14 09:41:36 2009 +0000
+++ b/xen/common/keyhandler.c   Mon Dec 14 09:42:09 2009 +0000
@@ -106,6 +106,7 @@ static void dump_registers(unsigned char
     unsigned int cpu;
 
     /* We want to get everything out that we possibly can. */
+    watchdog_disable();
     console_start_sync();
 
     printk("'%c' pressed -> dumping registers\n", key);
@@ -125,6 +126,7 @@ static void dump_registers(unsigned char
     printk("\n");
 
     console_end_sync();
+    watchdog_enable();
 }
 
 static void dump_dom0_registers(unsigned char key)

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


 


Rackspace

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