eos0/scripts/start.sh
2024-12-05 12:23:16 -06:00

14 lines
276 B
Bash
Executable file

#!/usr/bin/env bash
KERNEL=$1
shift
qemu-system-riscv64 \
-nographic \
-machine virt \
-bios none \
-m 3G \
-smp 3 \
# -drive file=fs.img,if=none,format=raw,id=x0 \
-device virtio-blk-device,drive=x0,bus=virtio-mmio-bus.0 \
-kernel "$KERNEL"