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] kexec: Flush console on kexec_crash().

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] kexec: Flush console on kexec_crash().
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Jun 2007 16:20:31 -0700
Delivery-date: Fri, 15 Jun 2007 16:18:56 -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@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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] kexec: Flush console on kexec_crash()., Xen patchbot-unstable <=