When I am running kvm-ok, I am getting: KVM acceleration can be used
However, when I run ./basic.sh, I am getting Could not access KVM kernel module: Permission denied
qemu-system-x86_64: failed to initialize KVM: Permission denied
It seems to be some kind of authorization problem, but I can't figure out a solution. Did anybody run into the same problem and has somehow resolved it? Thank you!
Support Technican, System Engineer, System Architect, Consultant, Mentor and so much more for: Microsoft (nearly everything), Linux (Ubuntu, CentOS), ITIL (V3), Prince²
Still working on more skills.
Sorry being so late with my answer.
Permission denied means mostly that you need to change the permissions on /dev/kvm to 666 : sudo chmod 666 /dev/kvm
this should resolve your Permission denied problem.
But you will do this after each reboot / restart of wsl.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
When I am running kvm-ok, I am getting: KVM acceleration can be used
However, when I run ./basic.sh, I am getting Could not access KVM kernel module: Permission denied
qemu-system-x86_64: failed to initialize KVM: Permission denied
It seems to be some kind of authorization problem, but I can't figure out a solution. Did anybody run into the same problem and has somehow resolved it? Thank you!
Sorry being so late with my answer.
Permission denied means mostly that you need to change the permissions on /dev/kvm to 666 :
sudo chmod 666 /dev/kvm
this should resolve your Permission denied problem.
But you will do this after each reboot / restart of wsl.