2022-10-20 16:48:25 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
source $(dirname $0)/env.sh
|
|
|
|
|
|
|
|
cd $LUNA_ROOT
|
|
|
|
|
2023-07-21 12:17:14 +00:00
|
|
|
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 $@
|