The Big Damn KVM cheatsheet

From Ye Ole Stash
Jump to: navigation, search

Contents

Commands you should know

  • /usr/libexec/qemu-kvm -cpu ?dump - Shows list of CPUs and their features
  • /usr/libexec/qemu-kvm -cpu \? - Shows basic CPU list
  • virt-what - tells you more about your virtual enviroment (usually just kvm is returned in a kvm environment)

virsh

  • define /etc/libvirt/qemu/ns03.80sretro.com.xml

Paths you cant live without

  • /var/lib/libvirt
  • /etc/libvirt/
  • qemu - your xml (and other cool files) live here.


Few points

Migrating from vmware server 1.x (and maybe 2.0 but it sucked so bad I cant say for sure)

  • 32bit hosts start with the wonderfully powerful PII based 32bit proc. To change you need to remove "-cpu qemu32"

Links

Personal tools