From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raghavendra K T Subject: [PATCH RFC V5 4/6] kvm guest : Added configuration support to enable debug information for KVM Guests Date: Fri, 23 Mar 2012 13:38:05 +0530 Message-ID: <20120323080801.14568.74307.sendpatchset@codeblue> References: <20120323080503.14568.43092.sendpatchset@codeblue> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120323080503.14568.43092.sendpatchset@codeblue> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Ingo Molnar , "H. Peter Anvin" Cc: Jeremy Fitzhardinge , X86 , KVM , Konrad Rzeszutek Wilk , LKML , Greg Kroah-Hartman , linux-doc@vger.kernel.org, Xen , Avi Kivity , Srivatsa Vaddagiri , Virtualization , Stefano Stabellini , Sasha Levin List-Id: virtualization@lists.linuxfoundation.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 10c28ec..a4530bd 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -600,6 +600,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