qemush/qemu/launchers/windows

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 \
"$@"