KVM

From Linuxintro
Revision as of 09:26, 12 February 2012 by 82.148.109.69 (talk) (→‎SUSE 11)

KVM is the Linux kernel's native virtualization.

Install it

I’ve aearldy bookmark this article and will definitely refer this article to all my close friends and colleagues. Thanks for posting!

backup

# virsh list --all
# cp -r /var/lib/xen/images/virtual_machine /target

TroubleShooting

The hypervisor is not running

Now you try to create a new virtual machine. When you use Paravirtualization, you get the error message "The hypervisor is not running.". When you try to use "Full virtualization", you get an error

The operating system does not support full virtualization
The CPUs support full virtualization, but it is disabled in the BIOS

To resolve this,

  • create a new connection, type "QEMU/KVM"
  • reboot your computer
  • start virt-manager

internal error No <source> 'bridge' attribute specified

Symptom: When starting a virtual machine you get an error

internal error No <source> 'bridge' attribute specified with <interface type='bridge'/>

To resolve this

  • you disable networking