From SemanticLab
Start KVM
- Without paravirtualization (starts the instance with the slower standard network and disk emulation)
kvm -hda /dev/mapper/vg_root-xmiguana -m 512 \
-net nic,vlan=0,model=rtl8139,mac={mac-address} -net tap,vlan=0 \
-daemonize \
-vnc localhost:0
- Daemonized using the host's kernel (with paravirtualization)
kvm -drive file=/dev/mapper/{volume_name},if=virtio,boot=on -m 512 \
-net nic,vlan=0,model=virtio,macaddr={mac-address} -net tap,vlan=0 \
-kernel /vmlinuz -initrd /initrd.img -append "root=/dev/vda ro"
-smp 2 -daemonize \
-vnc localhost:0