#!/bin/sh if [ ! -f dummy.qcow2 ]; then qemu-img create -f qcow2 dummy.qcow2 32M fi export LD_LIBRARY_PATH=./build build/qemu-system-arm -machine mps2-an385 -monitor null -semihosting \ --semihosting-config enable=on,target=native \ -kernel $1 \ -serial stdio -nographic \ -snapshot -drive if=none,format=qcow2,file=dummy.qcow2 \ -icount shift=3,align=off,sleep=off \ -S