On Sat, 27 Jan 2024 at 11:28, Emile 'iMil' Heitor <i...@home.imil.net> wrote: > > > I've synced up our NVMM code (kmod, lib and tool) with its current > state in DragonFlyBSD; if you're using NVMM on NetBSD as your > hypervisor you might want to give it a try > https://github.com/NetBSD/src/compare/trunk...NetBSDfr:NetBSD-src:nvmm > > I've also added a vmware compatible CPU frequency cpuid leaf which can > be used to get CPU frequency from the host instead of doing spending > 100ms in DELAY(). Qemu knows hot to expose it via the -cpu host,+invtsc > flag. >
Looks like the patch applies almost cleanly to -10, just a small hand-patchable section at the top of both sys/dev/nvmm/x86/nvmm_x86_{svm,vmx}.c Going to give it a spin there :) Thanks! David