From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756408Ab2ANS0u (ORCPT ); Sat, 14 Jan 2012 13:26:50 -0500 Received: from e2.ny.us.ibm.com ([32.97.182.142]:50510 "EHLO e2.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756299Ab2ANS0q (ORCPT ); Sat, 14 Jan 2012 13:26:46 -0500 From: Raghavendra K T To: Jeremy Fitzhardinge , Randy Dunlap , linux-doc@vger.kernel.org, KVM , Konrad Rzeszutek Wilk , Glauber Costa , Jan Kiszka , Rik van Riel , Dave Jiang , "H. Peter Anvin" , Thomas Gleixner , Rob Landley , X86 , Gleb Natapov , Avi Kivity , Alexander Graf , Stefano Stabellini , Paul Mackerras , Sedat Dilek , Ingo Molnar , LKML , Greg Kroah-Hartman , Virtualization , Marcelo Tosatti , Xen Cc: Srivatsa Vaddagiri , Peter Zijlstra , Raghavendra K T , Sasha Levin , Suzuki Poulose , Dave Hansen Date: Sat, 14 Jan 2012 23:56:20 +0530 Message-Id: <20120114182619.8604.383.sendpatchset@oc5400248562.ibm.com> In-Reply-To: <20120114182501.8604.68416.sendpatchset@oc5400248562.ibm.com> References: <20120114182501.8604.68416.sendpatchset@oc5400248562.ibm.com> Subject: [PATCH RFC V4 3/5] kvm guest : Added configuration support to enable debug information for KVM Guests x-cbid: 12011418-5112-0000-0000-0000040E32CA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added configuration support to enable debug information for KVM Guests in debugfs 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 72e8b64..344a7db 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -565,6 +565,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