From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH 15/15] Revert "x86: default to reboot via ACPI" Date: Thu, 6 Nov 2008 15:30:21 +0100 Message-ID: <20081106143021.GD13023@elte.hu> References: <1225915018-6548-1-git-send-email-ehabkost@redhat.com> <1225915018-6548-16-git-send-email-ehabkost@redhat.com> <20081106071445.GI15731@elte.hu> <20081106124031.GO5247@blackpad> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Andrew Morton , kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kexec-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "Rafael J. Wysocki" , Haren Myneni , Simon Horman , Avi Kivity , Andrey Borzenkov , mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, Vivek Goyal , "Eric W. Biederman" To: Eduardo Habkost Return-path: Content-Disposition: inline In-Reply-To: <20081106124031.GO5247@blackpad> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kexec-bounces-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Errors-To: kexec-bounces+glkk-kexec=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: kvm.vger.kernel.org * Eduardo Habkost wrote: > On Thu, Nov 06, 2008 at 08:14:45AM +0100, Ingo Molnar wrote: > > > > * Eduardo Habkost wrote: > > > > > This reverts commit c7ffa6c26277b403920e2255d10df849bd613380. > > > > > > Now that we have the hooks to disable virtualization on > > > emergency_restart(), we can get back to the BOOT_KBD reboot_type default. > > > > > > Signed-off-by: Eduardo Habkost > > > > hm, why revert this? There's nothing wrong with the ACPI reboot > > method, it's just that we surprise the BIOS by exiting with an unclean > > VMX state in certain circumstances. > > > > if the ACPI reboot method does not work we do the KBD method as the > > next thing in the reboot chain. > > I suppose there are cases where the new default broke without KVM, > and the suggestion was to disable VMX before rebooting instead of > changing the default. > > Avi changed the default because on some machines reboot=kbd breaks > when VMX is enabled, but the regressions caused by the new default > doesn't necessarily involve VMX. there's another reason as well: a growing quirk-list of machines where ACPI is the best (sometimes only) method to reboot. > Andrey Borzenkov's patch, for example, adds a new DMI entry because > reboot=acpi breaks his keyboard (even without KVM, I guess). Andrey, > was that the case? hm, IIRC the problem was KVM in his case too. Ingo