git: nvmm: Fix VMX VMCS remote clear issues

Aaron LI aly at crater.dragonflybsd.org
Tue Jul 20 16:30:22 PDT 2021


commit 05e20678271a04b00c9dcbd7fd66be6999913f14
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Jun 13 14:16:59 2021 +0800

    nvmm: Fix VMX VMCS remote clear issues
    
    When clearing a VMCS from a remote CPU, must wait for the IPI to
    complete.  Otherwise the VMCS may be wrong when the thread migrates to
    another CPU and thus cause panics when executing VMX instructions.
    
    Credit to Matt Dillon for the debugging and fix.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/05e20678271a04b00c9dcbd7fd66be6999913f14


-- 
DragonFly BSD source repository



More information about the Commits mailing list