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

Re: [Xen-devel] execve() in reboot.c ?

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] execve() in reboot.c ?
From: Philip R Auld <pauld@xxxxxxxxxxx>
Date: Mon, 25 Jul 2005 16:31:00 -0400
Cc: Jeremy Katz <katzj@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Mark Williamson <mark.williamson@xxxxxxxxxxxx>, Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxx>
Delivery-date: Mon, 25 Jul 2005 20:30:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D282783@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D282783@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
Rumor has it that on Mon, Jul 25, 2005 at 08:48:12PM +0100 Ian Pratt said:
>  
> > > > How about simply reusing whatever signal is sent to init when 
> > > > ctrl-alt-del is pressed on PCs ?
> > > 
> > > SIGINT
> > > 
> > > That's not a good idea though, if somebody put nothing in the 
> > > ctrlaltdel action, then it's not going to do anything.
> > 
> > But isn't that exactly what we want ?   A userspace configurable
> > way to trigger a system reboot.
> 
> I kind of like this approach, but it does mean that we can't distinguish
> between a poweroff and a reboot. Do we care?
> 

yes, I think there's a difference... If I halt a guest I don't expect
it to reboot.


> As I recall, the current approach was copied from one of the other Linux
> architectures. 

Could these be new hotplug events? That would get them out to
userspace where they would presumably be configurable.


Cheers,

Phil

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

-- 
Philip R. Auld, Ph.D.                          Egenera, Inc.    
Software Architect                            165 Forest St.
(508) 858-2628                            Marlboro, MA 01752

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