git: nvmm(4): Save debug registers to curthread's PCB

Aaron LI aly at crater.dragonflybsd.org
Mon Aug 17 18:49:05 PDT 2026


commit 8d6e451e8f3e6ffcab09fb70de8ea81aa028c8b5
Author: Aaron LI <aly at aaronly.me>
Date:   Mon Aug 17 21:26:39 2026 +0800

    nvmm(4): Save debug registers to curthread's PCB
    
    The PCB already has space for debug registers, so just use that area
    instead of abusing the vCPU's host area.  This also reduces difference
    with NetBSD.
    
    Suggested-by: Maxime Villard (m00nbsd)

Summary of changes:
 sys/dev/virtual/nvmm/x86/nvmm_x86_internal.h | 40 +++++++++++-----------------
 sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c      |  7 ++---
 sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c      |  7 ++---
 3 files changed, 20 insertions(+), 34 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8d6e451e8f3e6ffcab09fb70de8ea81aa028c8b5


-- 
DragonFly BSD source repository


More information about the Commits mailing list