Skip to content

Instantly share code, notes, and snippets.

@crazybolillo
Created September 5, 2022 01:28
Show Gist options
  • Save crazybolillo/72651a3389fa28bbb4e8dc24e14ce4bc to your computer and use it in GitHub Desktop.
Save crazybolillo/72651a3389fa28bbb4e8dc24e14ce4bc to your computer and use it in GitHub Desktop.
Windows with QEMU
# Run a Windows Guest in a Linux host with Qemu
kvm -hda win11.qcow2 -m 4096 -cpu host -smp 4 -vga qxl \
-machine vmport=off -daemonize \
-spice port=3001,disable-ticketing=on \
-device virtio-serial \
-chardev spicevmc,id=vdagent,debug=0,name=vdagent \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment