dotfiles/examples/qemu shell start scripts/windows.sh

10 lines
383 B
Bash

SPICE_PORT=5924
qemu-system-x86_64 -enable-kvm -daemonize \
-cpu host \
-smp cores=2 \
-drive file=windows.qcow2 \
-m 2G \
-vga qxl \
-spice port=${SPICE_PORT},disable-ticketing \
-hdb /dev/sdb