From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757286Ab1K3JAg (ORCPT ); Wed, 30 Nov 2011 04:00:36 -0500 Received: from e3.ny.us.ibm.com ([32.97.182.143]:53369 "EHLO e3.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757066Ab1K3JAe (ORCPT ); Wed, 30 Nov 2011 04:00:34 -0500 From: Raghavendra K T To: Greg Kroah-Hartman , "H. Peter Anvin" , Gleb Natapov , Virtualization , Jeremy Fitzhardinge , x86@kernel.org, KVM , Dave Jiang , Thomas Gleixner , Stefano Stabellini , Xen , Sedat Dilek , Yinghai Lu , Marcelo Tosatti , Ingo Molnar , Avi Kivity , Rik van Riel , Konrad Rzeszutek Wilk , LKML Cc: Srivatsa Vaddagiri , Peter Zijlstra , Raghavendra K T , Sasha Levin , Suzuki Poulose , Dave Hansen Date: Wed, 30 Nov 2011 14:30:19 +0530 Message-Id: <20111130090019.23386.95844.sendpatchset@oc5400248562.ibm.com> In-Reply-To: <20111130085921.23386.89708.sendpatchset@oc5400248562.ibm.com> References: <20111130085921.23386.89708.sendpatchset@oc5400248562.ibm.com> Subject: [PATCH RFC V3 3/4] kvm guest : Added configuration support to enable debug information for KVM Guests x-cbid: 11113009-8974-0000-0000-000003C566CE 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 5d8152d..526e3ae 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -561,6 +561,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