From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raghavendra K T Subject: [PATCH RFC V6 3/5] kvm guest : Add configuration support to enable debug information for KVM Guests Date: Mon, 23 Apr 2012 15:30:13 +0530 Message-ID: <20120423100013.30893.36752.sendpatchset@codeblue.in.ibm.com> References: <20120423095937.30893.14776.sendpatchset@codeblue.in.ibm.com> Cc: Xen , Srivatsa Vaddagiri , Raghavendra K T , Sasha Levin 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 Return-path: In-Reply-To: <20120423095937.30893.14776.sendpatchset@codeblue.in.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.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