From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gavin Shan Date: Mon, 05 May 2014 01:28:08 +0000 Subject: [PATCH 19/22] powerpc: Introduce CONFIG_KVM_ERRINJCT Message-Id: <1399253291-3975-20-git-send-email-gwshan@linux.vnet.ibm.com> List-Id: References: <1399253291-3975-1-git-send-email-gwshan@linux.vnet.ibm.com> In-Reply-To: <1399253291-3975-1-git-send-email-gwshan@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org Cc: alex.williamson@redhat.com, benh@kernel.crashing.org, aik@ozlabs.ru, qiudayu@linux.vnet.ibm.com, Gavin Shan 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