Here we go for
Any updates for
ICECream sandwich or
Kitkat? Helpful answers are highly appreciated!!
HAXM is only needed on Windows and OS X. On Linux, you need to have KVM installed.
See the “Configuring VM Acceleration on Linux” section on:
Just download x86 based system images in the SDK Manager, then start the AVD, KVM will be auto-detected and used automatically if your machine/system supports it.
As already mentioned by @Digit, you do not need HAXM on Linux but KVM.
Although the links in the other answers give a comprehensive answer, for those who like it short, on my Ubuntu, this was just enough:
sudo apt-get install kvm
here is step by step how to get KVM Installation with images
How to Start Intel Hardware-assisted Virtualization (hypervisor) on Linux to Speed-up Intel Android x86 Emulator
The Intel Hardware Accelerated Execution Manager provides hardware-assisted virtualization. It should (hopefully) work the same with more recent versions of the Android emulator. Use the Android SDK Manager to download the KitKat x86 emulator.
Here’s a more recent Intel document: http://software.intel.com/en-us/android/articles/speeding-up-the-android-emulator-on-intel-architecture
and Google’s documentation: http://developer.android.com/tools/devices/emulator.html
Do follow those instructions.
If it still doesn’t work for you, there are many possible causes such as: not having an Intel CPU, not installed properly, need to set BIOS settings, need to reboot, need to allocate lots of memory to HAXM, need to keep the AVD memory size down, attempting to configure the emulator to use the host GPU, …
What are the specific symptoms? Do try searching for them on Google.
Also search for Hardware Accelerated Execution Manager linux for more documentation and experience reports.
KVM has to be enabled by inserting the kernel module:
sudo modprobe kvm-intel
How to Start Intel Hardware-assisted Virtualization (hypervisor) on Linux to Speed-up Intel Android x86 Emulator might help; verbose output is also useful for testing:
emulator -avd ... -verbose
should log something like:
emulator: CPU Acceleration: working emulator: CPU Acceleration status: KVM (version 12) is installed and usable.
the qemuhowto states:
You must have kvm module (kvm-intel or kvm-amd) installed for your kernel, and the permission of /dev/kvm is set to allow your user to access it. Otherwise the KVM support will be disabled and it may run very slow.