You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

For this project we are going to use KVM, to work with Windows and Linux guest operating systems. The host operating system during the whole project will be Linux 10.04 (64bits).

Installation of KVM

(following this documentation: https://help.ubuntu.com/community/KVM/Installation )

  • First of all we should set the needed switches for the virtualization from bios.
  • Once we set them we are going to see if our computer really supports KVM. If the output from this command is 1 or more, it does :

          egrep -c '(vmx|svm)' /proc/cpuinfo

    In our case,he output is 2, so we can continue with the installation.
  • Now we are going to install the following packages:    
    • 'qemu-kvm' : the backend
    • 'libvirt-bin' : provides libvirtd which you need to administer qemu and kvm instances using libvirt
    • 'ubuntu-vm-builder' : powerful command line tool for building virtual machines
    • 'bridge utils' : provides a bridge from your network to the virtual machines
  • We should test if the installation it's been successful with the following comand:

virsh -c qemu:///system list

If everything is correct we have to see this output:
Id Name State
----------------------------------
But during the installation the output was :

/var/run/libvirt/libvirt-sock : Permission denied
failed to connect to the hypervisor

  • No labels
You must log in to comment.