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

[Xen-devel] Re: [RFC PATCH 26/35] Add Xen subarch reboot support

On Wed 22-03-06 15:21:57, Andi Kleen wrote:
> On Wednesday 22 March 2006 07:31, Chris Wright wrote:
> > +       static char *envp[] = { "HOME=/", "TERM=linux",
> > +                               "PATH=/sbin:/usr/sbin:/bin:/usr/bin", NULL 
> > };
> > +       static char *restart_argv[]  = { "/sbin/reboot", NULL };
> > +       static char *poweroff_argv[] = { "/sbin/poweroff", NULL };
> 
> It would be better if that was user configurable.

acpi also needs to shutdown machine on overheat. It would be nice to
consolidate all those places. New signal to init would be best, I'd
say.

-- 
Thanks, Sharp!

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>