neel 20e3e8762f If a vcpu has issued a HLT instruction with interrupts disabled then it sleeps
forever in vm_handle_hlt().

This is usually not an issue as long as one of the other vcpus properly resets
or powers off the virtual machine. However, if the bhyve(8) process is killed
with a signal the halted vcpu cannot be woken up because it's sleep cannot be
interrupted.

Fix this by waking up periodically and returning from vm_handle_hlt() if
TDF_ASTPENDING is set.

Reported by:	Leon Dang
Sponsored by:	Nahanni Systems
2014-07-26 02:53:51 +00:00
..
2014-04-07 20:44:00 +00:00
2014-07-24 23:14:03 +00:00
2014-07-07 00:27:09 +00:00
2014-04-17 12:22:08 +00:00
2014-06-14 12:26:12 +00:00
2014-06-28 17:36:18 +00:00
2014-02-06 13:28:06 +00:00
2014-07-07 00:27:09 +00:00
2014-07-07 00:27:09 +00:00