Exploring Real-Time Operating System Execution Strategies on Virtual Machines in RISC-V Architecture
Talkat RISC-V Summit North America 2024 · on Tuesday, 2024-10-22· at 11:50· Grand Ballroom H (Level 1)·
summary
Shows a concrete method to let RTOSes that assume Machine mode run inside a RISC‑V hypervisor: virtualize M‑mode instructions, provide virtual CSRs, trap M‑mode exceptions and emulate restricted memory/IO. Prototype patches are implemented in an open V hypervisor and run a FreeRTOS demo with two tasks communicating via a message queue, proving feasibility but exposing measurable overhead from frequent traps. Proposal: add a new VM privilege mode and VM‑mode CSRs to eliminate that runtime cost.
AI-written summary · about
chapters (11)
- 0:00Introduction to RTOS on VMs
- 1:04RISC-V architecture overview
- 2:30Virtualization vs logical partitioning
- 3:34Hypervisor extension in RISC-V
- 5:06Challenges with AROS in S/U modes
- 7:14Proposed virtualization method
- 8:17Implementation in Viot hypervisor
- 9:54Live demonstration
- 10:37Future work and hardware extensions
- 12:28Summary and practical use
- 13:56Q&A session
related talks
21mRISC-V Nested Virtualization
32mDeveloping the RISC-V Hypervisor Extensions in QEMU
21mDeveloping with FreeRTOS and RISC V
17mDemo: RISC-V Models for Verification, Software Development and Architectural Explor...
11mRunning Quake on RISC V with Virtual Platforms
11mFast Virtual Platforms for Custom RISC-V Processors
09mExploring RISC-V architectures with VPSim, a virtual prototyping environment
13mEarly RISC-V Software Verification with SIM-V
