Creating and starting KVM virtual machines

May 2009


Straight out of the HOWTOs on the KVM web page:

Creating a virtual machine disk: qemu-img create -f qcow vdisk.img 10G

Installing the virtual machine: qemu-system-x86_64 -hda vdisk.img -cdrom ./ubuntu-8.04.2-alternate-amd64.iso -boot d -m 512