I have some basic questions regarding hypervisor extension v1.0:
Can we take virtualization mode as separate control in the hart? This means privilege mode value 2 is still reserved, the privilege mode value for both HS and VS are 1, and that for both U and VU are 0.
Is there any way to learn current virtualzation mode of a hart from registers or debugging interfaces?
Like we use mret/sret and ecall instructions to change privilege modes, how can we change the virtualizaton mode?
I have some basic questions regarding hypervisor extension v1.0:
Can we take
virtualization mode
as separate control in the hart? This means privilege mode value 2 is still reserved, theprivilege mode
value for both HS and VS are1
, and that for both U and VU are0
.Is there any way to learn current
virtualzation mode
of a hart from registers or debugging interfaces?Like we use
mret/sret
andecall
instructions to change privilege modes, how can we change thevirtualizaton mode
?