Android studio /dev/kvm not found

I installed kvm. But android studio reports error / dev / kvm not found.
I went to the /dev directory and there really wasn’t kvm. But I found kvm in /sys/ module. How can this be fixed?

Thanks for any help.

Do you have virtualization enabled in your bios?

yes I have. but i think the problem is that android studio doesn’t know that kvm is installed in / sys

It isn’t. /dev/kvm is a device special file. The contents of /sys are not actual files, but rather a virtual filesystem through which the kernel exports information about the hardware to userspace, so that userland software can make use of that information.

Anyway, /dev/kvm should exist on your system.

[20:04:00][aragorn] >  ls -l /dev/kvm
crw-rw-rw- 1 root kvm 10, 232 Oct 21 07:09 /dev/kvm

What kernel are you running?

mhwd-kernel -li  

show this:

Currently running: 5.13.19-2-MANJARO (linux513)
The following kernels are installed in your system:
   * linux513

5.13 is EOL. Install 5.14 or one of the LTS kernels.

I don’t have /dev/kvm on my system either, but I can see that it’s built as a module in the kernel config, so maybe you just need to sudo modprobe kvm or something similar to get it?

Ok, i have installed linux514

mhwd-kernel -li

show me this:

5.14.10-1-MANJARO (linux514)
The following kernels are installed in your system:
   * linux514

Problem solved.
I’m just an idiot. I had off svd

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.