Reference: rCore-Tutorial-Book 3rd Edition
Target
On Install
I didn’t install QEMU 7.0.0 described in the post, I install it by
sudo pacman -S qemu-system-riscv
When I run make run
in the rCore-Tutorial-v3
os
directory, I’ve encountered this problem:
qemu-system-riscv64: -device virtio-gpu-device: 'virtio-gpu-device' is not a valid device model name
After a lot of inquiries, I found out it was because I didn’t install qemu-hw-display-virtio-gpu, after install it, we can run the program successfully.