Tworzenie dysku
qemu-img create -f qcow2 test.qcow2 10G
Instalacja
/usr/bin/qemu-system-x86_64 -machine accel=kvm -drive id=disk,file=/home/adam/qemu/test/test.qcow2,if=none -device ahci,id=ahci -device ide-drive,drive=disk,bus=ahci.0 -soundhw ac97 -k pl -vga none -device qxl-vga,vgamem_mb=64 -m 1536 -net nic -net user -rtc base=localtime -cpu host -smp 2,sockets=2,cores=1,threads=1 -cdrom '/home/adam/Pobrane/debian-testing-amd64-netinst.iso' -boot d
Uruchamianie
/usr/bin/qemu-system-x86_64 -machine accel=kvm -drive id=disk,file=/home/adam/qemu/test/test.qcow2,if=none -device ahci,id=ahci -device ide-drive,drive=disk,bus=ahci.0 -soundhw ac97 -k pl -vga none -device qxl-vga,vgamem_mb=64 -m 1536 -net nic -net user -rtc base=localtime -cpu host -smp 2,sockets=2,cores=1,threads=1
Źródło: