#!/bin/sh
(
BINARIES_DIR="${0%/*}/"
cd ${BINARIES_DIR}

export PATH="/builds/buildroot.org/toolchains-builder/test/output/host/bin:${PATH}"
exec qemu-system-s390x -M s390-ccw-virtio -cpu max,zpci=on -m 4G -smp 2 -kernel /builds/buildroot.org/toolchains-builder/test/output/images/bzImage -drive file=/builds/buildroot.org/toolchains-builder/test/output/images/rootfs.ext2,if=virtio,format=raw -append "rootwait root=/dev/vda net.ifnames=0 biosdevname=0 " -display none -serial mon:stdio -net nic,model=virtio -net user  -nographic
)
