From: ebiederm@xmission.com (Eric W. Biederman)
To: Zachary Amsden <zach@vmware.com>
Cc: Linus Torvalds <torvalds@osdl.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Virtualization Mailing List <virtualization@lists.osdl.org>,
Xen-devel <xen-devel@lists.xensource.com>,
Andrew Morton <akpm@osdl.org>, Dan Hecht <dhecht@vmware.com>,
Dan Arai <arai@vmware.com>, Anne Holler <anne@vmware.com>,
Pratap Subrahmanyam <pratap@vmware.com>,
Christopher Li <chrisl@vmware.com>,
Joshua LeVasseur <jtl@ira.uka.de>, Chris Wright <chrisw@osdl.org>,
Rik Van Riel <riel@redhat.com>, Jyothy Reddy <jreddy@vmware.com>,
Jack Lo <jlo@vmware.com>, Kip Macy <kmacy@fsmware.com>,
Jan Beulich <jbeulich@novell.com>,
Ky Srinivasan <ksrinivasan@novell.com>,
Wim Coekaerts <wim.coekaerts@oracle.com>,
Leendert van Doorn <leendert@watson.ibm.com>
Subject: Re: [RFC, PATCH 14/24] i386 Vmi reboot fixes
Date: Wed, 15 Mar 2006 22:03:44 -0700 [thread overview]
Message-ID: <m1d5gnc767.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <4418A21E.6030704@vmware.com> (Zachary Amsden's message of "Wed, 15 Mar 2006 15:24:14 -0800")
Zachary Amsden <zach@vmware.com> writes:
> Eric W. Biederman wrote:
>> Zachary Amsden <zach@vmware.com> 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.
Partially true. Basically it has never been optional to compile in the
BIOS reboot code and kexec did not change that situation. Although it
did provide a similar mechanism.
>> 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. :)
Ok.
>> 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.
/sbin/halt -p will call machine_power_off if pm_power_off is defined.
otherwise it will call machine_halt.
Eric
next prev parent reply other threads:[~2006-03-16 5:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-13 18:09 [RFC, PATCH 14/24] i386 Vmi reboot fixes Zachary Amsden
2006-03-15 21:11 ` Eric W. Biederman
2006-03-15 23:24 ` Zachary Amsden
2006-03-16 5:03 ` Eric W. Biederman [this message]
2006-03-15 21:11 ` Eric W. Biederman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1d5gnc767.fsf@ebiederm.dsl.xmission.com \
--to=ebiederm@xmission.com \
--cc=akpm@osdl.org \
--cc=anne@vmware.com \
--cc=arai@vmware.com \
--cc=chrisl@vmware.com \
--cc=chrisw@osdl.org \
--cc=dhecht@vmware.com \
--cc=jbeulich@novell.com \
--cc=jlo@vmware.com \
--cc=jreddy@vmware.com \
--cc=jtl@ira.uka.de \
--cc=kmacy@fsmware.com \
--cc=ksrinivasan@novell.com \
--cc=leendert@watson.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pratap@vmware.com \
--cc=riel@redhat.com \
--cc=torvalds@osdl.org \
--cc=virtualization@lists.osdl.org \
--cc=wim.coekaerts@oracle.com \
--cc=xen-devel@lists.xensource.com \
--cc=zach@vmware.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox