Stáhnout virtio ovladače
http://alt.fedoraproject.org/pub/alt/virtio-win/archives/virtio-win-0.1-100/
Vytvořit disk
qemu-img create -f qcow2 -o preallocation=metadata /kvm/disk.qcow2 120G
Vytvořit guest
virt-install \
–arch=x86_64 \
–name win8test \
–os-type windows \
–os-variant win7 \
–ram 6442 \
–vcpus=2 \
–vnc \
–vnclisten 0.0.0.0 \
–noautoconsole \
–disk path=/kvm/disk.qcow2 \
–disk path=/kvm/virtio-win-0.1-100.iso,device=cdrom,perms=ro \
–cdrom /instalace/windows.iso \
–boot cdrom,hd \
–network=bridge:br0 \
–accelerate \
–hvm \
–autostart \
–prompt
Seznam příkazů virt-install
http://www.techotopia.com/index.php/Installing_a_KVM_Guest_OS_from_the_Command-line_%28virt-install%29