eos0/scripts/start.sh

15 lines
276 B
Bash
Raw Normal View History

2024-12-05 18:23:16 +00:00
#!/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"