Luna/tools/fast-run.sh

16 lines
230 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e
source $(dirname $0)/env.sh
cd $LUNA_ROOT
if [ -c /dev/kvm ]
then
EXTRA_FLAGS="-enable-kvm"
else
EXTRA_FLAGS=""
fi
qemu-system-$LUNA_ARCH -cdrom Luna.iso -smp 1 -m 256M -serial stdio $EXTRA_FLAGS $@