From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Hanquez Subject: Re: execve() in reboot.c ? Date: Mon, 25 Jul 2005 20:31:40 +0200 Message-ID: <20050725183140.GA29762@snarc.org> References: <200507251847.56337.mark.williamson@cl.cam.ac.uk> <1122314192.2608.20.camel@bree.local.net> <200507251903.59053.mark.williamson@cl.cam.ac.uk> <9cde8bff0507251126303ec116@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <9cde8bff0507251126303ec116@mail.gmail.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: aq Cc: Jeremy Katz , xen-devel@lists.xensource.com, Mark Williamson , Ian Pratt List-Id: xen-devel@lists.xenproject.org On Tue, Jul 26, 2005 at 03:26:34AM +0900, aq wrote: > i dont see why we try to call userspace comand first, then fail thru > to sys_reboot(). why just call sys_reboot()? because sys_reboot doesn't do: - a clean shutdown of all processes of the machines. - unmount partitions. - sync data to disk. - problably some more reasons. -- Vincent Hanquez