Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932199AbWCOXZo (ORCPT ); Wed, 15 Mar 2006 18:25:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932589AbWCOXZo (ORCPT ); Wed, 15 Mar 2006 18:25:44 -0500 Received: from mailout1.vmware.com ([65.113.40.130]:48393 "EHLO mailout1.vmware.com") by vger.kernel.org with ESMTP id S932199AbWCOXZn (ORCPT ); Wed, 15 Mar 2006 18:25:43 -0500 Message-ID: <4418A21E.6030704@vmware.com> Date: Wed, 15 Mar 2006 15:24:14 -0800 From: Zachary Amsden User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: "Eric W. Biederman" Cc: Linus Torvalds , Linux Kernel Mailing List , Virtualization Mailing List , Xen-devel , Andrew Morton , Dan Hecht , Dan Arai , Anne Holler , Pratap Subrahmanyam , Christopher Li , Joshua LeVasseur , Chris Wright , Rik Van Riel , Jyothy Reddy , Jack Lo , Kip Macy , Jan Beulich , Ky Srinivasan , Wim Coekaerts , Leendert van Doorn Subject: Re: [RFC, PATCH 14/24] i386 Vmi reboot fixes References: <200603131809.k2DI9slZ005727@zach-dev.vmware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1349 Lines: 34 Eric W. Biederman wrote: > Zachary Amsden writes: > Huh? Rebooting through the BIOS and kexec are pretty much mutually exclusive. > Looking at the patch I can't see what you are talking about either. > Let me rephrase - kexec doesn't define calls for machine_shutdown and others that are in arch/i386/kernel/reboot.c. So kexec requires BIOS reboot code to be compiled in, even though the usage of the two is mutually exclusive. > Does kexec successfully work under VMWare? > It should work just fine. But it could expose bugs on either end. I've been monitoring our kexec testing, and I'll be able to help you with any issues that we might find on the Linux side. :) > machine_halt does not want to stop the processor. It is very much > about killing the kernel and user space but having the software still > linger a little. > I was afraid of that. I can back that change out. The problem I had was that the shutdown code I was running in userspace would not make the syscalls to actually call machine_power_off, but machine_halt instead. Will fix. Zach - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/