#!/bin/bash
USE_KVM=
if [ `uname` = 'Linux' ]
then
    USE_KVM='-enable-kvm'
    echo "Using KVM"
fi
qemu-system-i386 ${USE_KVM} -monitor stdio -m 90 -serial file:serial0.log -serial file:serial1.log -drive file=image-llos-erlvm/hd-i586-elf-llos-erlvm.bin,index=0,media=disk,format=raw -device i82559c,netdev=mynet0,mac=00:01:02:03:04:05 -netdev tap,id=mynet0,ifname=tap0,script=no,downscript=no $*
