How to know if we are compatible
The technology we are going to use is called KVM and the first thing that we have to know is if our processor supports hardware virtualization, we will use this command:
egrep -c " (vmx|svm)"="" proc="" cpuinfo="" If this command returns us a 0 in the window mean that our CPU does not support virtualization. The next step in case of having support is to install CPU Checker:sudo apt-get intall cpu-checker
Now we must know if our CPU supports KVM, the system we will use to accelerate the emulator, we use this command:kvm-ok
If we see something other than this:
?INFO: Your CPU supports KVM extensions
INFO: / dev / kvm exists
KVM acceleration can be used ?
Meaning that we have to activate Intel VT technology in the BIOS.
We are going to install a few packages in our system:sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
In section Postfix Configuration debers select No configuration To avoid conflict. Now We will add our user to the KVM group and libvirtd:sudo adduser
kvm sudo adduser libvirtd
You must log out of your account and log back in for the changes in the groups to take effect. Only members of the aforementioned groups can use KVM technology for virtual machines. Finally we will verify the installation with this command:sudo virsh -c qemu:///system list
Than we must return, if everything is correct:Id Name State --------------------------------------------
Otherwise, we must redo the entire process of installing and adding users to groups.
In this way, without many complications and with a couple of commands we will have a much more fluid and optimized emulator, we can continue programming and working without fear of having to wait for the emulator to start every time we want to test our application.
. Android (t) Eclipse (t) Android Emulator (t) Intel (t) KVM