summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Raspl <stefan.raspl@de.ibm.com>2018-02-22 12:16:24 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2018-02-24 01:43:42 +0100
commit1fd6a708c8438403dee17eb411cf81ffba13cf43 (patch)
treee15815f79eba376d438d921fbf1cb1c2fcd0abc4 /Makefile
parent1cd8bfb1ed9962be6d80d5020508922aa93653ac (diff)
downloadop-kernel-dev-1fd6a708c8438403dee17eb411cf81ffba13cf43.zip
op-kernel-dev-1fd6a708c8438403dee17eb411cf81ffba13cf43.tar.gz
tools/kvm_stat: fix debugfs handling
Te checks for debugfs assumed that debugfs is always mounted at /sys/kernel/debug - which is likely, but not guaranteed. This is addressed by checking /proc/mounts for the actual location. Furthermore, when debugfs was mounted, but the kvm module not loaded, a misleading error pointing towards debugfs not present was given. To reproduce, (a) run kvm_stat with debugfs mounted at a place different from /sys/kernel/debug (b) run kvm_stat with debugfs mounted but kvm module not loaded Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud