Skip to content

Instantly share code, notes, and snippets.

@THS-on

THS-on/vm options Secret

Created Oct 11, 2020
Embed
What would you like to do?
qemu-system-x86_64 \
-enable-kvm \
-cdrom /path/to/iso \
-boot d \
-m 3G \
-vga virtio \
-spice gl=on,unix,addr=/run/user/1000/spice.sock,disable-ticketing \
-cpu host \
-smp cores=2 \
-device nec-usb-xhci,id=usb \
-chardev spicevmc,name=usbredir,id=usbredirchardev1 \
-device usb-redir,chardev=usbredirchardev1,id=usbredirdev1 \
-chardev spicevmc,name=usbredir,id=usbredirchardev2 \
-device usb-redir,chardev=usbredirchardev2,id=usbredirdev2 \
-chardev spicevmc,name=usbredir,id=usbredirchardev3 \
-device usb-redir,chardev=usbredirchardev3,id=usbredirdev3 \
-device virtio-serial-pci \
-device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \
-chardev spicevmc,id=spicechannel0,name=vdagent \
-device virtserialport,chardev=charchannel1,name=org.spice-space.webdav.0 \
-chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment