Nov 1, 2018

Installing Android emulator acceleration (KVM)

Android emulator acceleration (KVM)

KVM is the name of the software used on Linux to accelerate the Android emulator.
/dev/kvm should exist if KVM is enabled.
KVM is a kernel module and on most modern Linuxes, if your hardware supports it, it will be enabled automatically.
To check if your CPU supports the required virtualization extensions, see if this prints a number other than 0:
egrep -c '(vmx|svm)' /proc/cpuinfo
You should also check that "VT-X" or "Virtualization" is enabled in your BIOS settings.


Note that KVM will not be enabled if you're running under virtualization (e.g. on EC2, on in VMWare/VirtualBox/Xen).