Hi Nathan,
On 2020/7/23 10:51, Nathan Chancellor wrote:
For the future, is there an easy way to tell which type of system I am
using (nVHE or VHE)?
afaict the easiest way is looking at the kernel log and you will find
something like "{VHE,Hyp} mode initialized successfully". I can get the
following message on my *VHE* box:
# cat /var/log/dmesg | grep kvm
[ 4.896295] kvm [1]: IPA Size Limit: 48bits
[ 4.896339] [...]
[ 4.899407] kvm [1]: VHE mode initialized successfully
^^^
Have a look at kvm_arch_init(). With VHE, the host kernel is running at
EL2 (aka Hyp mode).
Thanks,
Zenghui
_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm