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

9 lines
181 B
Text
Raw Normal View History

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