Re: kern/60545 (nvmm_x86_vmx: stale exit reason on launch/resume failure)

[email protected]
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
Synopsis: nvmm_x86_vmx: stale exit reason on launch/resume failure

State-Changed-From-To: open->needs-pullups
State-Changed-By: [email protected]
State-Changed-When: Sat, 08 Aug 2026 15:03:10 +0000
State-Changed-Why:
fixed in HEAD, needs pullup-11 (also pullup-10 if
https://mail-index.netbsd.org/source-changes/2026/03/22/msg161131.html
is ever pulled up; no PR associated with it)

Tagged the commit message with the wrong pattern, here's the fix:


Module Name:    src
Committed By:   riastradh
Date:           Sat Aug  8 12:47:47 UTC 2026

Modified Files:
        src/sys/dev/nvmm/x86: nvmm_x86_vmx.c

Log Message:
nvmm(4) vmx: Don't read VMCS_EXIT_REASON if vmlaunch/vmresume failed.

It is not valid in that case; we might end up operating on the
_previous_ successful vmlaunch/vmresume's now-stale exit reason.

kern/60545: nvmm_x86_vmx: stale exit reason on launch/resume failure


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/sys/dev/nvmm/x86/nvmm_x86_vmx.c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.