2 messages in com.xensource.lists.xen-ia64-devel[Xen-ia64-devel] Re: [Patch] Stop all...
FromSent OnAttachments
Akio Takebe11 Dec 2007 04:41.patch
Alex Williamson11 Dec 2007 11:11 
Subject:[Xen-ia64-devel] Re: [Patch] Stop all cpus at panic time (take 2)
From:Alex Williamson (alex@hp.com)
Date:12/11/2007 11:11:49 AM
List:com.xensource.lists.xen-ia64-devel

On Tue, 2007-12-11 at 21:42 +0900, Akio Takebe wrote:

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?

Looks good to me, I was hoping cpu_halt() would work. Applied. Thanks,

Alex