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

[Xen-changelog] [xen-unstable] kexec: Flush console on kexec_crash().



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1181921410 -3600
# Node ID 56548d9a7ba7a5fb39b31db9b018217e259233c3
# Parent  8ad38aaaeb89bfa67fc30ca5c4b2d3a78af219ce
kexec: Flush console on kexec_crash().
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/common/kexec.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r 8ad38aaaeb89 -r 56548d9a7ba7 xen/common/kexec.c
--- a/xen/common/kexec.c        Fri Jun 15 15:30:49 2007 +0100
+++ b/xen/common/kexec.c        Fri Jun 15 16:30:10 2007 +0100
@@ -19,6 +19,7 @@
 #include <asm/atomic.h>
 #include <xen/spinlock.h>
 #include <xen/version.h>
+#include <xen/console.h>
 #include <public/elfnote.h>
 
 #ifndef COMPAT
@@ -110,6 +111,8 @@ void kexec_crash(void)
     if ( !test_bit(KEXEC_IMAGE_CRASH_BASE + pos, &kexec_flags) )
         return;
 
+    console_start_sync();
+
     one_cpu_only();
     kexec_crash_save_cpu();
     machine_crash_shutdown();

_______________________________________________
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®.