dotfiles/qemu/bin/linux

11 lines
204 B
Text
Raw Normal View History

#!/bin/sh -ex
name="$(basename "$0")"
qemu-system-x86_64 \
2023-11-16 10:13:02 +01:00
-monitor stdio -enable-kvm \
-cpu host -smp "$(("$(nproc)" / 2))" \
-m 8G \
-hda "images/${name}.qcow2" \
-net nic \
-name "$name" \
"$@"