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