git: nvmm: Improve CPUID handling
Aaron LI
aly at crater.dragonflybsd.org
Wed Nov 18 05:12:56 PST 2026
commit 280a73f4f46bc83f9d0bfa6967cec9e1c2fa1f2b
Author: Aaron LI <aly at aaronly.me>
Date: Wed Nov 18 16:13:39 2026 +0800
nvmm: Improve CPUID handling
- If the emulator wants to exit on a leaf, don't overwrite the
registers.
- On AMD, out-of-range leaves return zero, not the highest supported
leaf, so return zero.
Obtained-from: NVMM Reference Implementation
Summary of changes:
sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c | 81 +++++++++++++++++++--------------
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c | 72 +++++++++++++++--------------
2 files changed, 87 insertions(+), 66 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/280a73f4f46bc83f9d0bfa6967cec9e1c2fa1f2b
--
DragonFly BSD source repository
More information about the Commits
mailing list