diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-13 05:52:16 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-13 05:52:16 +0200 |
commit | f5b7769eb0400ec5217a47e41148a9f816ca1f9f (patch) | |
tree | 2523ae64572026769c2d362a5b7e18fff35d49f7 /drivers/cpufreq/imx6q-cpufreq.c | |
parent | KVM: x86: VMX: fix build without hyper-v (diff) | |
download | linux-f5b7769eb0400ec5217a47e41148a9f816ca1f9f.tar.xz linux-f5b7769eb0400ec5217a47e41148a9f816ca1f9f.zip |
Revert "debugfs: inode: debugfs_create_dir uses mode permission from parent"
This reverts commit 95cde3c59966f6371b6bcd9e4e2da2ba64ee9775.
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
problematic commit.
The problem is almost certainly due to the special kvm debugfs entries
created dynamically by kvm under /sys/kernel/debug/kvm/. See
kvm_create_vm_debugfs()
Bisected-and-reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Wanpeng Li <kernellwp@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/cpufreq/imx6q-cpufreq.c')
0 files changed, 0 insertions, 0 deletions