Implementing a RISC-V Hypervisor
To implement a seamless Linux integration into Starina, I decided to go with a Linux lightweight VM approach similar to WSL2. This means I need to implement a hypervisor that can run Linux.
I had implemented an Intel VT-x based hypervisor before, but this time I wanted to try something different: RISC-V H-extension based hypervisor!
This post is a diary of my journey of writing a RISC-V hypervisor incrementally.
RISC-V H-extension
RISC-V H-extension introduces new CPU modes and some more CSRs (s...
Read more at seiya.me