projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2de3d3
)
keyhandler: When dumping all-CPU register state, wnter console sync
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 12 Jun 2008 15:34:25 +0000
(16:34 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 12 Jun 2008 15:34:25 +0000
(16:34 +0100)
mode so we do not drop any critical debug data.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/keyhandler.c
patch
|
blob
|
history
diff --git
a/xen/common/keyhandler.c
b/xen/common/keyhandler.c
index 934edb5dc9faa0421ad63797a810e74ccdfeda60..9194273322a81a6acf2d10b46a1bc078e5f5b774 100644
(file)
--- a/
xen/common/keyhandler.c
+++ b/
xen/common/keyhandler.c
@@
-105,6
+105,9
@@
static void dump_registers(unsigned char key, struct cpu_user_regs *regs)
{
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 key, struct cpu_user_regs *regs)
}
printk("\n");
+
+ console_end_sync();
}
static void halt_machine(unsigned char key, struct cpu_user_regs *regs)