On Fri, 10 Jan 2025, Vitaly Shevtsov wrote:
When I do "cat /proc/cpuinfo" in Linux, it shows that my CPU has ept, unrestricted_guest, vpid flags along with vmx extension. When I do the same in NetBSD, it shows that only vmx is supported. Is it expected because of procfs implementation or doesn't NetBSD recognise them? And how does it affect VMs under NVMM?
Doesn't look like the VMX MSRs are being read and decoded. Only the stuff from CPUID is shown[1]--even with cpuctl[2]. [1]: https://github.com/NetBSD/src/blob/trunk/sys/arch/x86/x86/procfs_machdep.c [2]: https://github.com/NetBSD/src/tree/trunk/usr.sbin/cpuctl -RVP