This reverts commit 95cde3c5.
The commit had good intentions, but it breaks kvm-tool and qemu-kvm.
With it in place, "lkvm run" just fails with
Error: KVM_CREATE_VM ioctl
Warning: Failed init: kvm__init
which isn't a wonderful error message, but bisection pinpointed the
The problem is almost certainly due to the special kvm debugfs entries
created dynamically by kvm under /sys/kernel/debug/kvm/. See
Bisected-and-reported-by: Linus Torvalds <firstname.lastname@example.org>
Cc: Wanpeng Li <email@example.com>
Cc: Greg Kroah-Hartman <firstname.lastname@example.org>
Cc: Thomas Richter <email@example.com>
Cc: Kees Cook <firstname.lastname@example.org>
Signed-off-by: Linus Torvalds <email@example.com>