Hypervisor Extension for a RISC-V Processor

Jaume Gauchola,JuanJosé Costa,Enric Morancho,Ramon Canal,Xavier Carril,Max Doblas,Beatriz Otero,Alex Pajuelo,Eva Rodríguez,Javier Salamero,Javier Verdú
2024-06-12
Abstract:This paper describes our experience implementing a Hypervisor extension for a 64-bit RISC-V processor. We describe the design process and the main required parts with a brief explanation of each one.
Hardware Architecture
What problem does this paper attempt to address?
The paper aims to address the issue of how to implement and integrate a Hypervisor extension on a RISC-V processor. Specifically, the research team designed and implemented a Hypervisor extension for the Lagarto core, a 64-bit RISC-V processor. The main purpose of this extension is to enhance the efficiency of virtual machine (VM) management, particularly in data center and cloud computing environments, by reducing the performance overhead of software-managed virtual machines through hardware support. By introducing new privilege modes, modifying control status registers (CSRs), optimizing trap handling mechanisms, and implementing two-stage address translation, the processor can better support virtualization technology, thereby meeting the demands for efficient virtualization.