Comments on Using KVM On Ubuntu 7.10 (Gutsy Gibbon)

Using KVM On Ubuntu 7.10 (Gutsy Gibbon) In this HowTo I'll explain how to install and use KVM for running your services in virtual machines. KVM (Kernel-based Virtual Machine) is a Linux kernel virtualization technique that provides full virtualization by using Intel VT (Vanderpool) or AMD-V (Pacifica).

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By:

KVM is really a great technology. I made some benchmarks with early versions which revealed that it is able to run applications close to native speed. I also compared it's performance with VMware, and they were comparable. Unfortunately, VMware prohibits publishing benchmarks of it's product, that's another good reason to go with KVM!

By:

I recommand restarting your server at this point. If you are able to reconnect, your bridge is working.

This is a little ambigous (which server?). I recommend rewritting this in the form:

I recommand restarting your foobar server at this point, by typing:

/etc/init.d/foobard restart 

If you are able to reconnect, your bridge is working.

Again I find "(make sure to insert your public IP Address)" ambiguous for people behind a NAT. Would the following be better?

To find your Address and Netmask type type

ifconfig eth0

To find your gateway type

route

You say "Also edit /etc/qemu-ifup like this:". However some machines do not have this file. Perhaps we should have a line

(create this file if it does not exist)

or, perhaps instead:

if this file does not exist, type:

apt-get install qemu 

By:

After I rebooted I was unable to access the internet, 'route' reported that it thought that br0 was my access to the internet. Changing /etc/network/interfaces back to the original and rebooting fixed this problem. Take note of this before you try these instructions. Not much point trying to look this up after your net access has stopped working ;).

By: Cyrille

Hello,

Thks for your work.

I want to know if it is possible to set a Virtual Machine with a specific/limit frequency processor.

Hope to read you

Best Regards

By: Tariq Daradkeh

hello there,

  In fact i'm a new user to kvm i had installed it and try it and everything was good .   Now I'm working to get the source code and compile it and install it I found these two links for source code  http://sourceforge.net/projects/kvm/files/qemu-kvm/1.2.0/   http://sourceforge.net/projects/kvm/files/kvm-kmod/3.10.21/   I don't know exactly what the difference between them but the code from the first link i can configure (./configure) it and compile it (make) but once I start install it (make install) i get this message   sudo make install [sudo] password for tariq: install -d -m 0755 "/usr/local/share/qemu" install -d -m 0755 "/usr/local/etc/qemu" install -c -m 0644 /usr/src/qemu-kvm-1.2.0/sysconfigs/target/target-x86_64.conf "/usr/local/etc/qemu" install -c -m 0644 /usr/src/qemu-kvm-1.2.0/sysconfigs/target/cpus-x86_64.conf "/usr/local/share/qemu" install -d -m 0755 "/usr/local/bin" install -c -m 0755  qemu-ga qemu-nbd qemu-img qemu-io  "/usr/local/bin" install -d -m 0755 "/usr/local/libexec" install -c -m 0755  qemu-bridge-helper "/usr/local/libexec" set -e; for x in bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom qemu-icon.bmp bamboo.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb multiboot.bin linuxboot.bin kvmvapic.bin s390-zipl.rom spapr-rtas.bin slof.bin palcode-clipper; do \                 install -c -m 0644 /usr/src/qemu-kvm-1.2.0/pc-bios/$x "/usr/local/share/qemu"; \         done install -d -m 0755 "/usr/local/share/qemu/keymaps" set -e; for x in da     en-gb  et  fr     fr-ch  is  lt  modifiers  no  pt-br  sv ar      de     en-us  fi  fr-be  hr     it  lv  nl         pl  ru     th common  de-ch  es     fo  fr-ca  hu     ja  mk  nl-be      pt  sl     tr bepo; do \                 install -c -m 0644 /usr/src/qemu-kvm-1.2.0/pc-bios/keymaps/$x "/usr/local/share/qemu/keymaps"; \         done for d in x86_64-softmmu; do \         make -C $d install || exit 1 ; \         done make[1]: Entering directory `/usr/src/qemu-kvm-1.2.0/x86_64-softmmu' install -m 755 qemu-system-x86_64 "/usr/local/bin" strip "/usr/local/bin/qemu-system-x86_64" make[1]: Leaving directory `/usr/src/qemu-kvm-1.2.0/x86_64-softmmu' then I tried the second code but in the second code i can't even configure it   sudo ./configure   Error: kernel is more recent than KVM modules delivered with this release. You probably want to use the KVM support that is already part of your kernel.   I have ubuntu 12.04 installed on dell machine  $ uname -rm 3.13.0-32-generic x86_64 please any help that i can start to compile the kvm and install it then i want to modify some feature of KVM, if you advice me how I can get documentation about the code of kvm and how the code is structured    thank you very much