Files
qemu/scripts
Janosch Frank 7aa4ee5a60 scripts/kvm/kvm_stat: Improve debugfs access checking
Access checking with F_OK was replaced with the better readable
os.path.exists().

On Linux exists() returns False when the user doesn't have sufficient
permissions for statting the directory. Therefore the error message
now states that sufficient rights are needed when the check fails.

Also added check for /sys/kernel/debug/tracing/.

Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Message-Id: <1452525484-32309-9-git-send-email-frankja@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-01-26 15:58:12 +01:00
..
2015-09-04 13:18:04 +02:00
2015-12-17 17:33:49 +01:00
2015-12-18 12:18:31 +00:00
2015-10-12 18:44:54 +02:00
2015-10-12 18:46:50 +02:00
2015-12-17 08:21:29 +01:00
2015-10-29 17:59:27 +00:00
2015-02-16 15:07:18 +00:00
2014-02-15 16:10:25 +04:00
2014-06-09 15:43:40 +02:00