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-ia64-devel

[Xen-ia64-devel] [Patch] Stop all cpus at panic time (take 2)

To: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>, Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>, Simon Horman <horms@xxxxxxxxxxxx>, Alex Williamson <alex.williamson@xxxxxx>
Subject: [Xen-ia64-devel] [Patch] Stop all cpus at panic time (take 2)
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Tue, 11 Dec 2007 21:42:01 +0900
Delivery-date: Tue, 11 Dec 2007 04:40:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Current panic() of hypervisor doesn't stop all cpus.
So domains can work after hypervisor panic.
(but this issue happens at only using noreboot option)
If dom0 works after Hypervisor panic,
the system may get a serious problem.

This patch fix the issue.

Changelog:
 - I choosed cpu_halt() to stop other cpus by smp_send_stop().
   I think it should work fine for kexec.
   machine_halt() is only spinloop for leaving the panic CallTrace.
   What do you think about it, Horms and Alex?

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

Best Regards,

Akio Takebe

Attachment: stop_all_cpu_at_halt.patch
Description: Binary data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>