CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2023/09/25 19:23:02

Modified files:
        usr.sbin/vmd   : vm.c 

Log message:
vmd(8): fix vm pause deadlock.

When vcpu threads pause, they are holding the run mutex lock. If
the event thread is asked to assert an irq on the pic and interrupts
are pending, it will try to take the run mutex lock on the vcpu.
This deadlocks.

Release the lock in the vcpu thread before waiting on the pause
condition variable.

ok mlarkin@

Reply via email to