From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH] x86: default to reboot via ACPI Date: Tue, 26 Aug 2008 11:50:32 +0200 Message-ID: <20080826095032.GA309@elf.ucw.cz> References: <1219659087-17536-1-git-send-email-avi@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ingo Molnar , "Eric W. Biederman" , linux-kernel@vger.kernel.org, kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from gprs189-60.eurotel.cz ([160.218.189.60]:38754 "EHLO gprs189-60.eurotel.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752926AbYHZJ7B (ORCPT ); Tue, 26 Aug 2008 05:59:01 -0400 Content-Disposition: inline In-Reply-To: <1219659087-17536-1-git-send-email-avi@qumranet.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon 2008-08-25 13:11:27, Avi Kivity wrote: > Triple-fault and keyboard reset may assert INIT instead of RESET; however > INIT is blocked when Intel VT is enabled. This leads to a partially reset > machine when invoking emergency_restart via sysrq-b: the processor is still > working but other parts of the system are dead. > > Default to rebooting via ACPI, which correctly asserts RESET and reboots the > machine. > > This is safe since we will fall back to keyboard reset and triple fault if > acpi is not enabled or if the reset is not successful. > > Signed-off-by: Avi Kivity "ACPI" and "safe" in one sentence. /me bets this will break lot of machines. What about only doing that when enabling VT? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html