Re: NVMM sync up from DragonFlyBSD

David Brownlee <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <CAGN_6pb2wYVS5S1eSybw+AE4rRH2t9ccv613joxU_tTq73ssKQ@mail.gmail.com>
On Sat, 27 Jan 2024 at 11:28, Emile 'iMil' Heitor <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.