git: nvmm: Fix the handling of CR0.NE in VMX

Aaron LI aly at crater.dragonflybsd.org
Wed Nov 18 05:12:55 PST 2026


commit 22d5c0b4cba4944833464eb70a8d46533a88579f
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Nov 18 13:33:19 2026 +0800

    nvmm: Fix the handling of CR0.NE in VMX
    
    CR0.NE must be forced to 1, so add it to CR0_STATIC_MASK. Otherwise
    a #GP can be raised in the guest.
    
    Bug: https://bugs.dragonflybsd.org/issues/3452

Summary of changes:
 sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/22d5c0b4cba4944833464eb70a8d46533a88579f


-- 
DragonFly BSD source repository


More information about the Commits mailing list