From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gavin Shan Subject: [PATCH 19/22] powerpc: Introduce CONFIG_KVM_ERRINJCT Date: Mon, 5 May 2014 11:28:08 +1000 Message-ID: <1399253291-3975-20-git-send-email-gwshan@linux.vnet.ibm.com> References: <1399253291-3975-1-git-send-email-gwshan@linux.vnet.ibm.com> Cc: alex.williamson@redhat.com, benh@kernel.crashing.org, aik@ozlabs.ru, qiudayu@linux.vnet.ibm.com, Gavin Shan To: linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org Return-path: Received: from e23smtp06.au.ibm.com ([202.81.31.148]:48096 "EHLO e23smtp06.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754115AbaEEB2F (ORCPT ); Sun, 4 May 2014 21:28:05 -0400 Received: from /spool/local by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 5 May 2014 11:28:03 +1000 In-Reply-To: <1399253291-3975-1-git-send-email-gwshan@linux.vnet.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: The patch introduces kernel configuration option KVM_ERRINJCT. It enables emulating error injection RTAS services used on IBM POWER (pSeries) servers. Signed-off-by: Gavin Shan --- arch/powerpc/kvm/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/powerpc/kvm/Kconfig b/arch/powerpc/kvm/Kconfig index 6764fc5..914ab05 100644 --- a/arch/powerpc/kvm/Kconfig +++ b/arch/powerpc/kvm/Kconfig @@ -198,6 +198,14 @@ config KVM_EEH Enable support for emulating EEH RTAS services used on IBM POWER (pSeries) servers. +config KVM_ERRINJCT + bool "KVM in-kernel error injection emulation" + depends on KVM_EEH + default y + ---help--- + Enable support for emulating error injection services used + on IBM POWER (pSeries) servers + source drivers/vhost/Kconfig endif # VIRTUALIZATION -- 1.8.3.2