x86/kvm: Remove defunct KVM_DEBUG_FS Kconfig
authorSean Christopherson <sean.j.christopherson@intel.com>
Thu, 28 May 2020 03:11:21 +0000 (20:11 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Jun 2020 18:12:36 +0000 (14:12 -0400)
Remove KVM_DEBUG_FS, which can easily be misconstrued as controlling
KVM-as-a-host.  The sole user of CONFIG_KVM_DEBUG_FS was removed by
commit cfd8983f03c7b ("x86, locking/spinlocks: Remove ticket (spin)lock
implementation").

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200528031121.28904-1-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/Kconfig
arch/x86/kernel/kvm.c

index 57d1c4e..67f6a40 100644 (file)
@@ -821,14 +821,6 @@ config PVH
          This option enables the PVH entry point for guest virtual machines
          as specified in the x86/HVM direct boot ABI.
 
-config KVM_DEBUG_FS
-       bool "Enable debug information for KVM Guests in debugfs"
-       depends on KVM_GUEST && DEBUG_FS
-       ---help---
-         This option enables collection of various statistics for KVM guest.
-         Statistics are displayed in debugfs filesystem. Enabling this option
-         may incur significant overhead.
-
 config PARAVIRT_TIME_ACCOUNTING
        bool "Paravirtual steal time accounting"
        depends on PARAVIRT
index d6f22a3..7e6403a 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/kprobes.h>
-#include <linux/debugfs.h>
 #include <linux/nmi.h>
 #include <linux/swait.h>
 #include <asm/timer.h>