1
modprobe kvm-intel|kvm-amd
4
qemu-img create -f qcow2 vdisk.qcow2 32G
6
kvm -hda vdisk.qcow2 -cdrom /path/to/boot-media.iso -boot d -m 1024
8
kvm -hda vdisk.qcow2 -m 1024
9
* VDE Network (default net, configured in /etc/conf.d/vde)
10
kvm -hda solaris.qcow2 -m 1024 -net nic,model=rtl8139 -net vde,vlan=0,sock=/var/run/vde.ctl
12
vde problem, after daemon restart the qemu should be restarted
14
-nographic -serial null -monitor null
18
-soundhw es1370 -no-acpi -snapshot -localtime -boot c -usb -usbdevice tablet -net nic,vlan=0,macaddr=00:00:10:52:37:48 -net tap,vlan=0,ifname=tap0,script=no
22
kvm -hda solaris.qcow2 -m 1024 -net nic,model=rtl8139 -net vde,sock=/var/run/e.ctl -nographic -monitor null -serial none
24
screen accessible later
25
screen -dmS MyQemu qemu -hda /dev/hda -snapshot -m 512
30
* Start KVM with USB enabled: kvm -usb
31
* Switch to console: Ctrl+Alt+2
32
* Add devices: usb_add host:####:####
33
The numers can be acquired using lsusb
34
Multi mode usb_add host:1234:*
35
* Remove device: usb_dev <dev_id>
38
- Running user should have permissions to access usb
43
* Lately gtk display of qemu is broklen. Add '-display sdl' option to run