Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

  • 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 processor really supports KVM. If the output from this command is 1 or more, it does :
    Panel

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

    In our case,he output is 2, so we can continue with the installation.

...

Panel

ifconfig eth0 10.80.86.1 netmask 255.255.255.0 up

    After that, I restart the computer and everything works ok.

Create Virtual MachinesTo create the vm's with the different guest operating systems, we are going to install 'virt-manager'.

With Virtual Machine Manager ( http://virt-manager.et.redhat.comImage Added) we can create our KVM just following the steps of the application. It's a graphical way to create the vm's instead do it with comands in the terminal.
To create them we have to do it from localhost (QEMU) not from localhost (QEMU Usermode)
The steps to create the Virtual Machine are:# Click on the button “Create a new virtual machine”

  1. We have to enter a name for the vm and choose the way we want to install the operatyng system
  2. Then we choose the operating system type and version
  3. Choose memory (RAM) and CPU settings
  4. Create a disk image in the computer hard diskThe virtual machine is going to be saved in the path: /var/lib/libvirt/images
    In this project we are going to develop two vm's, one with Windows as guest operating system, and the other one with Linux. Now we are going to explain the setting of the differents vm's.