Skip to content

Instantly share code, notes, and snippets.

@mistivia
Created October 11, 2025 19:17
Show Gist options
  • Select an option

  • Save mistivia/ccf9488fcf12ee77a4655ddbdbca7538 to your computer and use it in GitHub Desktop.

Select an option

Save mistivia/ccf9488fcf12ee77a4655ddbdbca7538 to your computer and use it in GitHub Desktop.
windows 10 in qemu, with sound
qemu-system-x86_64 \
-machine q35,accel=kvm \
-enable-kvm \
-cpu host \
-smp 2 \
-m 4096 \
-drive id=mydrive0,if=none,file="./hdd.qcow2",format=qcow2 \
-device ide-hd,drive=mydrive0 \
-netdev user,id=mynet0 \
-device e1000-82545em,netdev=mynet0,mac=52:79:a0:d2:15:02 \
-rtc base=localtime,clock=host \
-usb \
-device usb-tablet \
-device qemu-xhci,id=xhci \
-device intel-hda -device hda-duplex,audiodev=pa,mixer=off \
-audiodev pa,id=pa \
-display gtk,gl=on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment