From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755085Ab2DWKSZ (ORCPT ); Mon, 23 Apr 2012 06:18:25 -0400 Received: from e28smtp02.in.ibm.com ([122.248.162.2]:43817 "EHLO e28smtp02.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755044Ab2DWKSX (ORCPT ); Mon, 23 Apr 2012 06:18:23 -0400 From: Raghavendra K T To: Jeremy Fitzhardinge , Greg Kroah-Hartman , Alexander Graf , Randy Dunlap , linux-doc@vger.kernel.org, "H. Peter Anvin" , Konrad Rzeszutek Wilk , KVM , Avi Kivity , Stefano Stabellini , X86 , Gleb Natapov , Ingo Molnar , Marcelo Tosatti , Virtualization , LKML Cc: Xen , Srivatsa Vaddagiri , Raghavendra K T , Sasha Levin Date: Mon, 23 Apr 2012 15:30:13 +0530 Message-Id: <20120423100013.30893.36752.sendpatchset@codeblue.in.ibm.com> In-Reply-To: <20120423095937.30893.14776.sendpatchset@codeblue.in.ibm.com> References: <20120423095937.30893.14776.sendpatchset@codeblue.in.ibm.com> Subject: [PATCH RFC V6 3/5] kvm guest : Add configuration support to enable debug information for KVM Guests x-cbid: 12042310-5816-0000-0000-0000023FE53E Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srivatsa Vaddagiri Signed-off-by: Srivatsa Vaddagiri Signed-off-by: Suzuki Poulose Signed-off-by: Raghavendra K T --- diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 35eb2e4..a9ec0da 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -584,6 +584,15 @@ config KVM_GUEST This option enables various optimizations for running under the KVM hypervisor. +config KVM_DEBUG_FS + bool "Enable debug information for KVM Guests in debugfs" + depends on KVM_GUEST && DEBUG_FS + default n + ---help--- + This option enables collection of various statistics for KVM guest. + Statistics are displayed in debugfs filesystem. Enabling this option + may incur significant overhead. + source "arch/x86/lguest/Kconfig" config PARAVIRT