#!/usr/bin/env bash # Starts a Windows 10 VM with 8G RAM qemu-system-x86_64 -enable-kvm \ -cpu host \ -drive file="$HOME/.vm/win10.img" \ -m 8G \ -smp 2 \ -vga virtio \ -display gtk,gl=on,full-screen=off \ -boot menu=on \ # -netdev bridge,id=net0,br=br0 \ # -device virtio-net-pci,netdev=net0 \ # -device virtio-rng-pci \ # -audiodev pa,id=snd0 \ -device intel-hda \ -device hda-output,audiodev=snd0 # -net user,hostfwd=tcp::10022-:22 \ # -net nic \