Skip to content

os/verification-boot.txt ​

配套源码,运行方法见同目录 README。返回实验总览。

txt
qemu-system-riscv64 -machine virt -bios none -kernel kernel/kernel -m 128M -smp 3 -nographic -global virtio-mmio.force-legacy=false -drive file=fs.img,if=none,format=raw,id=x0 -device virtio-blk-device,drive=x0,bus=virtio-mmio-bus.0

xv6 kernel is booting

hart 2 starting
hart 1 starting
init: starting sh
$ echo OS_BASELINE_OK
OS_BASELINE_OK

BASELINE_BOOT_PASS=True