1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/qemu/bin/linux

8 lines
181 B
Bash
Executable file

#!/bin/sh -x
qemu-system-x86_64 \
-enable-kvm \
-M q35 \
-cpu host -smp "$(("$(nproc)" / 2))" \
-m "$(("$(free | awk '($1 == "Mem:") { print $2 }')" / 2))K" \
-net nic \
"$@"