git: nvmm: Fix SWINT reinjection in svm_exit_evt()

Aaron LI aly at crater.dragonflybsd.org
Sat Oct 3 07:05:11 PDT 2026


commit 2543a4cbbaa110b70d07b7290f0d3d51ee89ea68
Author: Aaron LI <aly at aaronly.me>
Date:   Fri Oct 2 21:20:38 2026 +0800

    nvmm: Fix SWINT reinjection in svm_exit_evt()
    
    AMD CPUs have an issue where they may not set nrip if a VMEXIT
    occurs during a SWINT event. Work around it by not reinjecting
    SWINTs and just letting the guest re-execute the INT instruction.
    
    Obtained-from: NVMM Reference Implementation

Summary of changes:
 sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2543a4cbbaa110b70d07b7290f0d3d51ee89ea68


-- 
DragonFly BSD source repository


More information about the Commits mailing list