http://doc.opensuse.org/documentation/html/openSUSE/opensuse-kvm/cha.qemu.running.html
This is a good reference to qemu-kvm command line usage.
1. To start a VM with spice:
qemu-kvm -cpu host -enable-kvm -m 1024 -smp 2 -drive file=/home/vm/win/winxp.img,if=none,id=drive-virtio-disk0,format=qcow2,cache=directsync -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0 -boot c -vga qxl -usbdevice tablet -soundhw ac97 -spice port=5900,disable-ticketing -monitor stdio
阅读(840) | 评论(0) | 转发(0) |