CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/02/18 15:28:20
Modified files:
usr.sbin/vmd : vm.c
Log message:
vmd(8): prevent pause deadlock when vcpu doesn't halt
Trying to pause a vm that's got a vcpu busy polling that never
issues a HLT instruction results in a deadlock. Remove the check
for if the vcpu is halted. We have other logic to handle "suspending"
the vcpu thread if a vcpu halts with interrupts enabled. (The way
vmm(4) works is if the vcpu halts without interrupts, we consider
it a terminating event.)
ok hshoexer@, mlarkin@