1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/qemu/bin/windows
2023-11-30 10:20:05 +01:00

9 lines
220 B
Bash
Executable file

#!/bin/sh -ex
qemu-system-x86_64 \
-enable-kvm \
-cpu host -smp "$(("$(nproc)" / 2))" \
-m "$(("$(free | grep '^Mem: ' | awk '{ print $NF }')" / 2))K" \
-net nic \
-device virtio-serial \
-usbdevice tablet \
"$@"