From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx2.redhat.com ([66.187.237.31]) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1KxNHR-0007O5-CJ for kexec@lists.infradead.org; Tue, 04 Nov 2008 14:53:17 +0000 From: Eduardo Habkost Subject: [PATCH 00/14] x86: disable virt on kdump and emergency_restart Date: Tue, 4 Nov 2008 12:52:28 -0200 Message-Id: <1225810364-8990-1-git-send-email-ehabkost@redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Avi Kivity , Ingo Molnar Cc: Andrew Morton , Eduardo Habkost , kvm@vger.kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Haren Myneni , Simon Horman , "Eric W. Biederman" , Andrey Borzenkov , mingo@redhat.com, Vivek Goyal Hi, This is a new version of the series to disabling virtualization on kdump, now extended to do the same tricks on emergency_restart() if needed. This series is against linux-next-20081103. Patches 01-07 simply move the non-kdump-specific parts of nmi_shootdown_cpus() to reboot.c, so it can be used by emergency_restart(). They should be a no-op in relation to existing code. Patches 08 adds the virt_disable function registering interface, like the previous series. Patch 09 hooks emergency_virt_disable() into kdump crash_shutdown code. Patch 10 hooks emergency_virt_disable() into emergency_restart() using nmi_shootdown_cpus(). Patches 11-15 change KVM so that it registers a virt_disable function when loading. Finally, patch 16 restore the previous reboot=kbd default. -- Eduardo _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755560AbYKDOzq (ORCPT ); Tue, 4 Nov 2008 09:55:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753903AbYKDOxp (ORCPT ); Tue, 4 Nov 2008 09:53:45 -0500 Received: from mx2.redhat.com ([66.187.237.31]:60551 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753579AbYKDOxm (ORCPT ); Tue, 4 Nov 2008 09:53:42 -0500 From: Eduardo Habkost To: Avi Kivity , Ingo Molnar Cc: "Eric W. Biederman" , Simon Horman , Andrew Morton , Vivek Goyal , Haren Myneni , Andrey Borzenkov , mingo@redhat.com, "Rafael J. Wysocki" , kexec@lists.infradead.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Eduardo Habkost Subject: [PATCH 00/14] x86: disable virt on kdump and emergency_restart Date: Tue, 4 Nov 2008 12:52:28 -0200 Message-Id: <1225810364-8990-1-git-send-email-ehabkost@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is a new version of the series to disabling virtualization on kdump, now extended to do the same tricks on emergency_restart() if needed. This series is against linux-next-20081103. Patches 01-07 simply move the non-kdump-specific parts of nmi_shootdown_cpus() to reboot.c, so it can be used by emergency_restart(). They should be a no-op in relation to existing code. Patches 08 adds the virt_disable function registering interface, like the previous series. Patch 09 hooks emergency_virt_disable() into kdump crash_shutdown code. Patch 10 hooks emergency_virt_disable() into emergency_restart() using nmi_shootdown_cpus(). Patches 11-15 change KVM so that it registers a virt_disable function when loading. Finally, patch 16 restore the previous reboot=kbd default. -- Eduardo