riscv 的虚拟化支持

riscv-spec-20191213.pdf 中
A fully virtualizable ISA to ease hypervisor development.
RISC-V hypervisors that provide multiple supervisor-level execution environments for guest
operating systems.

27.8 Hypervisor-level Instruction-Set Extensions
Standard hypervisor-level instruction-set extensions are named like supervisor-level extensions, but
beginning with the letter “H” instead of the letter “S”.
Standard hypervisor-level extensions should be listed after standard lesser-privileged extensions. If
multiple hypervisor-level extensions are listed, they should be ordered alphabetically.

John Hauser and Andrew Waterman contributed a hypervisor ISA extension based upon a proposal
from Paolo Bonzini.


Standard Hypervisor-Level Extensions
	Hypervisor-level extension “ghi” 		Hghi

riscv-privileged-20190608.pdf 中
Added a draft proposal for a hypervisor extension.
 
Hypervisor Memory-Management Instructions
HFENCE.BVMA
HFENCE.GVMA
 
hyp 相关的指令集 已经有了,但还是草案 , 名字叫做 Hghi,简称 为 H
所以暂时(2021-9-25 14:27:02)在 arch/riscv 下 不会出现 kvm 这个目录
hyp 对标 ARMv8的虚拟化方案


是的,目前 linux Upstream 没有 这个目录,但是已经开始移植了
https://github.com/kvm-riscv/linux.git

riscv 上的虚拟化软件方案可以参考如下
https://embeddedinn.xyz/articles/tutorial/exploring_virtualization_in_riscv_machines/

https://static.sched.com/hosted_files/osseu19/4e/Xvisor_Embedded_Hypervisor_for_RISCV_v5.pdf
https://zhuanlan.zhihu.com/p/408197895

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/u011011827/article/details/120471241