CVS commit: [netbsd-11] src/sys/dev/nvmm/x86

"Martin Husemann" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	martin
Date:		Wed Jun  3 18:33:24 UTC 2026

Modified Files:
	src/sys/dev/nvmm/x86 [netbsd-11]: nvmm_x86_svm.c nvmm_x86_vmx.c

Log Message:
Pull up following revision(s) (requested by yamt in ticket #298):

	sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.95
	sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.95

nvmm: remove cpuid leaf 0x40000010
* given the lapic bit disabled, (PR/59424) [1]
  this leaf doesn't seem to have much benefit anymore.
  as nvmm is used in other platforms, (dragonfly bsd)
  it's better to avoid guest ABI changes without clear benefits.
* I couldn't find any documenation about what RBX=0 means.
  (vmware or kvm)

we can revisit this when/if someone comes up with a better
implementation. (probably userland-assisted one)
discussed on source-changes-d. [2]

reviewed by Taylor R Campbell.

[1] https://mail-index.netbsd.org/source-changes/2026/05/01/msg161786.html
[2] https://mail-index.netbsd.org/source-changes-d/2026/05/01/msg014654.html


To generate a diff of this commit:
cvs rdiff -u -r1.89.2.1 -r1.89.2.2 src/sys/dev/nvmm/x86/nvmm_x86_svm.c
cvs rdiff -u -r1.90.2.2 -r1.90.2.3 src/sys/dev/nvmm/x86/nvmm_x86_vmx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
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.