From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Habkost Subject: [PATCH 11/16] kvm_x86_ops: crash_hardware_disable() operation Date: Tue, 4 Nov 2008 12:52:39 -0200 Message-ID: <1225810364-8990-12-git-send-email-ehabkost@redhat.com> References: <1225810364-8990-1-git-send-email-ehabkost@redhat.com> 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 To: Avi Kivity , Ingo Molnar Return-path: Received: from mx2.redhat.com ([66.187.237.31]:60508 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751398AbYKDOxd (ORCPT ); Tue, 4 Nov 2008 09:53:33 -0500 In-Reply-To: <1225810364-8990-1-git-send-email-ehabkost@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: The vmx hardware_disable() function does too much for the virt_disable crash handler, so we will have a new operation for the crash-time virt_disable case. Signed-off-by: Eduardo Habkost --- arch/x86/include/asm/kvm_host.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 09e6c56..002023b 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -426,6 +426,7 @@ struct kvm_x86_ops { int (*disabled_by_bios)(void); /* __init */ void (*hardware_enable)(void *dummy); /* __init */ void (*hardware_disable)(void *dummy); + void (*crash_hardware_disable)(void *dummy); void (*check_processor_compatibility)(void *rtn); int (*hardware_setup)(void); /* __init */ void (*hardware_unsetup)(void); /* __exit */ -- 1.5.5.GIT