Install cpu-checker
$ [sudo] apt-get install cpu-checker
determine if this system is capable of running hardware accelerated KVM virtual machines (ie, possesses Virtualization Technology)
$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
Install kvm, qemu etc...
$ [sudo] apt-get install \
> qemu-kvm \
> qemu-system \
> libvirt-bin \
> ubuntu-vm-builder \
> bridge-utils
The following NEW packages will be installed:
Add user to kvm and libvirtd groups:
$ [sudo] adduser `id -un` kvm libvirtd
You need to log out and log back in for the new group memberships to take effect.
Change the default connect URI in libvirt:
export LIBVIRT_DEFAULT_URI="qemu:///session"
For permanent effect add the above line in ~/.bashrc
sources: