[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] shutdown.c - halt_action
On 3/11/06 9:29 pm, "Ben Thomas" <bthomas@xxxxxxxxxxxxxxx> wrote: > It's not always desirable for a system to halt. The hypervisor has a > number of places where it does request a halt, and this might be useful > for debugging, but not always in a production environment. Add a > hypervisor command line parameter, halt_action, which allows the > overriding of any halt requests. The parameter takes the form of > halt_action=halt, halt_action=reboot or halt_action=reboot:20 > for halting, rebooting after a default 10 seconds, or rebooting after > a specified number of seconds. The default is halt_action=halt > and preserves existing behavior. > > Signed-off-by: Ben Thomas (ben@xxxxxxxxxxxxxxx) We halt in three situations: 1. Domain-0 asked us to (thru poweroff or halt) 2. 'noreboot' was specified as a boot parameter 3. We take an exception with IRQs disabled or we take a double fault. Behaviours (1) and (2) are quite reasonable. We should really just fix (3) to (attempt to) reboot after a few seconds, just like any other fatal exception. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |