CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/08/31 18:55:14

Modified files:
        sys/arch/amd64/amd64: vmm_machdep.c 

Log message:
Prevent a vmm(4) vcpu getting stuck if copyin(9) fails.

The VMM_IOC_RUN handler performed copyin after toggling the vcpu
state to running and didn't properly reset it if copyin fails. This
would prevent any subsequent attempt by a caller to issue VMM_IOC_RUN
for the vcpu.

Instead of adding complexity to the error handling path, perform
the copyin first before toggling the state.

ok mlarkin@

Reply via email to