How to: Preconditions on the host machine (for x86 emulator)
Read [How to Start Intel Hardware-assisted Virtualization (hypervisor) on Linux](https://software.intel.com/en-us/blogs/2012/03/12/how-to-start-intel-hardware-assisted-virtualization-hypervisor-on-linux-to-speed-up-intel-android-x86-emulator) for more details.

Read [KVM Installation](https://help.ubuntu.com/community/KVM/Installation) if you haven't got KVM installed on the host yet.

* Check the capability of running KVM

  ```bash
  grep -cw ".*\(vmx\|svm\).*" /proc/cpuinfo
  # or
  egrep -c '(vmx|svm)' /proc/cpuinfo
  # a non-zero result means the host CPU supports hardware virtualization.
  
  sudo kvm-ok
  # seeing below info means you can run your virtual machine faster with the KVM extensions
  INFO: /dev/kvm exists
  KVM acceleration can be used
  ```

* Load KVM module on the host

  ```console
  sudo modprobe kvm
  # or for Intel processors
  sudo modprobe kvm-intel
  # or for AMD processors
  sudo modprobe kvm-amd
  ```

* Check if KVM module is successfully loaded

  ```console
  lsmod | grep kvm
  ```