Commit 1e20eb8557cdabf76473b09572be8aa8a2bb9bc0

Authored by Srivatsa Vaddagiri
Committed by H. Peter Anvin
1 parent 3a3bb00d5c

kvm guest: Add configuration support to enable debug information for KVM Guests

Signed-off-by: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1376058122-8248-14-git-send-email-raghavendra.kt@linux.vnet.ibm.com
Signed-off-by: Suzuki Poulose <suzuki@in.ibm.com>
Signed-off-by: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Acked-by: Gleb Natapov <gleb@redhat.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>

Showing 1 changed file with 9 additions and 0 deletions Side-by-side Diff

... ... @@ -657,6 +657,15 @@
657 657 underlying device model, the host provides the guest with
658 658 timing infrastructure such as time of day, and system time
659 659  
  660 +config KVM_DEBUG_FS
  661 + bool "Enable debug information for KVM Guests in debugfs"
  662 + depends on KVM_GUEST && DEBUG_FS
  663 + default n
  664 + ---help---
  665 + This option enables collection of various statistics for KVM guest.
  666 + Statistics are displayed in debugfs filesystem. Enabling this option
  667 + may incur significant overhead.
  668 +
660 669 source "arch/x86/lguest/Kconfig"
661 670  
662 671 config PARAVIRT_TIME_ACCOUNTING