+ case $TARGET_ARCH in
+ i386) QEMU=qemu ; ARGS="" ;;
+ x86_64) QEMU=qemu-system-x86_64 ; if is_64bits; then ARGS="-no-kqemu"; else ARGS=""; fi ;;
+ *) echo "Cannot handle TARGET_ARCH=$TARGET_ARCH"; exit 1 ;;
+ esac
+fi
+
+echo "Running $COMMAND in $(pwd)"
+echo "Starting at $(date)"
+
+#Creating new DISK_IMAGE if needed only
+if [ -f $DISK_IMAGE ] ; then
+ echo "Using existing $DISK_IMAGE"
+else
+ echo -n "Creating hard disk image (${DISK_SIZE}) as $DISK_IMAGE .. "
+ img=$(qemu-img create -f ${DISK_FORMAT} $DISK_IMAGE ${DISK_SIZE})