From: Sean Christopherson Date: Thu, 28 May 2020 03:11:21 +0000 (-0700) Subject: x86/kvm: Remove defunct KVM_DEBUG_FS Kconfig X-Git-Tag: v5.8-rc1~31^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e96edd9a9c2e75ece7f581d4f75d26b38cd53ba;p=thirdparty%2Fkernel%2Flinux.git x86/kvm: Remove defunct KVM_DEBUG_FS Kconfig 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 Message-Id: <20200528031121.28904-1-sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini --- diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 57d1c4e367387..67f6a40b5e93a 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -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 diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index d6f22a3a1f7da..7e6403a8d8610 100644 --- a/arch/x86/kernel/kvm.c +++ b/arch/x86/kernel/kvm.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include