From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757109Ab2CWIJe (ORCPT ); Fri, 23 Mar 2012 04:09:34 -0400 Received: from e23smtp08.au.ibm.com ([202.81.31.141]:54499 "EHLO e23smtp08.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756917Ab2CWIJU (ORCPT ); Fri, 23 Mar 2012 04:09:20 -0400 From: Raghavendra K T To: Ingo Molnar , "H. Peter Anvin" Cc: X86 , Avi Kivity , Marcelo Tosatti , Jeremy Fitzhardinge , Konrad Rzeszutek Wilk , Greg Kroah-Hartman , Alexander Graf , Stefano Stabellini , Gleb Natapov , Randy Dunlap , linux-doc@vger.kernel.org, LKML , KVM , Virtualization , Xen , Sasha Levin , Srivatsa Vaddagiri Date: Fri, 23 Mar 2012 13:38:05 +0530 Message-Id: <20120323080801.14568.74307.sendpatchset@codeblue> In-Reply-To: <20120323080503.14568.43092.sendpatchset@codeblue> References: <20120323080503.14568.43092.sendpatchset@codeblue> Subject: [PATCH RFC V5 4/6] kvm guest : Added configuration support to enable debug information for KVM Guests x-cbid: 12032222-5140-0000-0000-000000F05038 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 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 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 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 To: Ingo Molnar , "H. Peter Anvin" 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 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 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