foxlet / macOS-Simple-KVM

Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
13.66k stars 1.14k forks source link

Could not access KVM kernel module: No such file or directory #121

Open gnarlin opened 5 years ago

gnarlin commented 5 years ago

Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize KVM: No such file or directory

foxlet commented 5 years ago

Do you have the KVM kernel module enabled in your kernel? What distro?

pedrety commented 5 years ago

I have the same problem. I'm running Pop!_OS 18.04 (basically Ubuntu 18.04).

Also I don't know how to enable the KVM kernel module. I made a little research but came up with nothing

gnarlin commented 5 years ago

I'm running Ubuntu 19.10 with the 5.3.8-050308-generic kernel from the mainline PPA.

parkerlreed commented 5 years ago

KVM will auto load if virtualization is enabled in BIOS. Check your motherboard's settings to enable virtualization.

sulaimantok commented 5 years ago

Make sure you enable virtualization in BIOS