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] [XEN] Do not spin at the end of machine_c

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEN] Do not spin at the end of machine_crash_kexec(). If there was no crash
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Nov 2006 21:30:38 +0000
Delivery-date: Thu, 30 Nov 2006 13:31:36 -0800
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 Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
# Node ID 7ee6d20893f7b58fbad810a3fc87a250c61fd545
# Parent  e7cb5813e2a7e5d95c22855e1d63cba8147c5422
[XEN] Do not spin at the end of machine_crash_kexec(). If there was no crash
image then we should return to the caller who will either restart the machine
as normal or continue on as appropriate.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
---
 xen/common/kexec.c |    2 --
 1 files changed, 2 deletions(-)

diff -r e7cb5813e2a7 -r 7ee6d20893f7 xen/common/kexec.c
--- a/xen/common/kexec.c        Thu Nov 30 14:05:27 2006 +0000
+++ b/xen/common/kexec.c        Thu Nov 30 16:32:24 2006 +0000
@@ -119,8 +119,6 @@ void machine_crash_kexec(void)
         image = &kexec_image[KEXEC_IMAGE_CRASH_BASE + pos];
         machine_kexec(image); /* Does not return */
     }
-
-    while (1); /* No image available - just spin */
 }
 
 static void do_crashdump_trigger(unsigned char key)

_______________________________________________
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] [XEN] Do not spin at the end of machine_crash_kexec(). If there was no crash, Xen patchbot-unstable <=