qemush/qemu/bin/windows
2023-12-04 13:11:13 +01:00

9 lines
219 B
Bash
Executable file

#!/bin/sh -x
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 \
"$@"