KVM: Difference between revisions
From DWIKI
mNo edit summary |
|||
Line 1: | Line 1: | ||
=Links= | =Links= | ||
*[http://www.linux-kvm.org/ Homepage] | *[http://www.linux-kvm.org/ Homepage] | ||
*http://www.linux-kvm.com/ | |||
=Docs= | =Docs= | ||
*[http://blog.ericwhite.ca/articles/2010/10/kvm-ubuntu-vm-using-debootstrap/ Creating a KVM Ubuntu VM using Debootstrap] | *[http://blog.ericwhite.ca/articles/2010/10/kvm-ubuntu-vm-using-debootstrap/ Creating a KVM Ubuntu VM using Debootstrap] |
Revision as of 10:25, 16 November 2011
Links
Docs
Hardware
Required CPU flags:
egrep '^flags.*(vmx|svm)' /proc/cpuinfo
Management tools
proxmox
GUI
virt-manager
Only manages connecting?
aqemu
looks promising
convirt
seems broken/gtk
CLI
virt-install
vmdeboostrap
For quick debian installation. https://github.com/funollet/vmbootstrap
Cheatsheet
Install to drbd
kvm -name squeeze1 -usbdevice tablet -vnc :1 -hda /dev/drbd0 -cdrom /tmp/debiansqueeze.iso -boot d -m 384
And then use -boot c to actually boot it:
kvm -name squeeze1 -usbdevice tablet -vnc :1 -hda /dev/drbd0 -boot c -m 384
virt-install -d --name=squeeze --ram 512 --disk path=/dev/drbd/by-res/squeeze,bus=virtio,cache=none --virt-type=kvm --network bridge=br0,model=virtio --vnc --accelerate --location=http://ftp.debian.org/debian/dists/squeeze/main/installer-amd64/
and start using
kvm start squeeze