RISC V Hypervisor Extensions
summary
Proposal adds a RISC‑V hypervisor extension that virtualizes supervisor mode by introducing HS/VS/VU modes, exposes background CSRs to hold guest state without heavy copies, and uses two‑level translation (guest→guest‑phys then hypervisor page tables→machine) with identical page table formats. Design targets both bare‑metal and KVM‑style hybrid hypervisors, supports recursive guests with shadow page tables, and includes machine‑mode traps for sret/sfence to ease emulation. Spec is in the ISA repo; no hardware or full software implementations exist yet, Spike/QEMU ports planned.
AI-written summary · about
chapters (11)
- 0:00Intro
- 0:42Purpose & Goals
- 2:07RISC-V Privilege Modes
- 2:58Privilege Modes with Hypervisor Ext.
- 4:36What Needs to be Virtualized?
- 4:53Virtualizing Supervisor Arch. State
- 7:35Virtualizing Memory
- 8:40Virtualizing 1/0 and Interrupts - Software & Timer interrupts use SBI (= trivial)
- 10:27Recursive Virtualization • Recursive virtualization supported with additional HS- level software support
- 10:56Emulating the Hypervisor Extension
- 11:54Implementation Status
related talks
32mDeveloping the RISC-V Hypervisor Extensions in QEMU
19mThe RISC-V Software Ecosystem: Primed for the Latest ISA Extensions
36mAccelerate RISC-V Instruction Set Simulation by Tiered JIT Compilation
31mFormal Specification
14mRISC-V for Gaming: Emulating X86 on RISC-V
17mRISC-V LLVM State of the Union
01h 25mRISC V Bit Manipulation ISA Extension Spec, Hardware, Software
17mA Retargetable System-Level DBT Hypervisor
