Thanks, RVP Yup, it looks like x86_features[8] is not being read. This makes sense why I don't see these features. I hope at least nvmm doesn't rely on /proc
On Sun, Jan 12, 2025 at 3:28 AM RVP <r...@sdf.org> wrote: > > 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