Skip to content

Commit 0e96edd

Browse files
Sean Christophersonbonzini
authored andcommitted
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 cfd8983 ("x86, locking/spinlocks: Remove ticket (spin)lock implementation"). Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 0f78355 commit 0e96edd

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

arch/x86/Kconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -821,14 +821,6 @@ config PVH
821821
This option enables the PVH entry point for guest virtual machines
822822
as specified in the x86/HVM direct boot ABI.
823823

824-
config KVM_DEBUG_FS
825-
bool "Enable debug information for KVM Guests in debugfs"
826-
depends on KVM_GUEST && DEBUG_FS
827-
---help---
828-
This option enables collection of various statistics for KVM guest.
829-
Statistics are displayed in debugfs filesystem. Enabling this option
830-
may incur significant overhead.
831-
832824
config PARAVIRT_TIME_ACCOUNTING
833825
bool "Paravirtual steal time accounting"
834826
depends on PARAVIRT

arch/x86/kernel/kvm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include <linux/sched.h>
2222
#include <linux/slab.h>
2323
#include <linux/kprobes.h>
24-
#include <linux/debugfs.h>
2524
#include <linux/nmi.h>
2625
#include <linux/swait.h>
2726
#include <asm/timer.h>

0 commit comments

Comments
 (0)