On the Simulation of Hypervisor Instructions for Accurate Timing Simulation of Virtualized Systems

Swapneel C. Mhatre,Priya Chandran
DOI: https://doi.org/10.48550/arXiv.2206.00258
2022-06-01
Abstract:Architectural simulators help in better understanding the behaviour of existing architectures and the design of new architectures. Virtualization has regained importance and this has put a pressing demand for the simulation of virtualized systems. Existing full-system simulators for virtualized systems simulate the application program instructions and the operating system instructions but abstract the hypercalls or traps to the hypervisor. This leads to inaccuracy in the simulation. This paper proposes an approach to simulate hypervisor instructions in addition to operating system instructions for accurate timing simulation of virtualized systems. The proposed approach is demonstrated by simulating RISC-V binary instructions. The simulator is an execution-driven, functional-first, hardware-based simulator coded in Verilog. The paper concludes that the proposed approach leads to accurate timing simulation of virtualized systems.
Hardware Architecture
What problem does this paper attempt to address?