From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Knorr Subject: Re: execve() in reboot.c ? Date: 26 Jul 2005 14:55:23 +0200 Message-ID: <87mzo9wwuc.fsf@bytesex.org> References: <20050725203100.GE11003@vienna.egenera.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <20050725203100.GE11003@vienna.egenera.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Philip R Auld Cc: Ian Pratt , xen-devel@lists.xensource.com, Mark Williamson , Vincent Hanquez , Jeremy Katz List-Id: xen-devel@lists.xenproject.org Philip R Auld writes: > > 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. Especially if you want to reboot the (physical) machine with something like "xm shutdown -a -w && reboot" in domain0 ... Gerd -- panic("it works"); /* avoid being flooded with debug messages */