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-changelog

[Xen-changelog] [xen-unstable] keyhandler: When dumping all-CPU register

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] keyhandler: When dumping all-CPU register state, wnter console sync
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 13 Jun 2008 14:10:21 -0700
Delivery-date: Fri, 13 Jun 2008 14:10:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213284865 -3600
# Node ID ec56331c056aea79b267ae5383a5ae09f4a37941
# Parent  4ac0898df538c74cab88aaeccc3b62f1e88037f3
keyhandler: When dumping all-CPU register state, wnter console sync
mode so we do not drop any critical debug data.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/common/keyhandler.c |    5 +++++
 1 files changed, 5 insertions(+)

diff -r 4ac0898df538 -r ec56331c056a xen/common/keyhandler.c
--- a/xen/common/keyhandler.c   Thu Jun 12 16:18:31 2008 +0100
+++ b/xen/common/keyhandler.c   Thu Jun 12 16:34:25 2008 +0100
@@ -105,6 +105,9 @@ static void dump_registers(unsigned char
 {
     unsigned int cpu;
 
+    /* We want to get everything out that we possibly can. */
+    console_start_sync();
+
     printk("'%c' pressed -> dumping registers\n", key);
 
     /* Get local execution state out immediately, in case we get stuck. */
@@ -120,6 +123,8 @@ static void dump_registers(unsigned char
     }
 
     printk("\n");
+
+    console_end_sync();
 }
 
 static void halt_machine(unsigned char key, struct cpu_user_regs *regs)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] keyhandler: When dumping all-CPU register state, wnter console sync, Xen patchbot-unstable <=