On 10/12/2015 13:12, Janosch Frank wrote:
>  if not os.access('/sys/kernel/debug', os.F_OK):

PATH_DEBUGFS should be /sys/kernel/debug, while...

>      print 'Please enable CONFIG_DEBUG_FS in your kernel'
>      sys.exit(1)
> -if not os.access('/sys/kernel/debug/kvm', os.F_OK):
> +if not os.access(PATH_DEBUGFS, os.F_OK):

... this should be PATH_DEBUGFS_KVM.

Paolo

Reply via email to