freebsd-skq/sys/amd64
Neel Natu f008d1571d 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
..
acpica don't set CR4 PSE bit on amd64 2014-07-23 15:53:29 +00:00
amd64 Copying pages via temporary mappings in the !DMAP case of pmap_copy_pages() 2014-07-24 10:12:22 +00:00
conf Add vt(4) devices and options to NOTES 2014-07-01 00:22:54 +00:00
ia32 x86: Allow users to change PSL_RF via ptrace(PT_SETREGS...) 2013-11-14 15:37:20 +00:00
include If a vcpu has issued a HLT instruction with interrupts disabled then it sleeps 2014-07-26 02:53:51 +00:00
linux32 Revert r266925 as it can lead to instant panic at fexecve(): 2014-06-17 05:29:18 +00:00
pci Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
vmm If a vcpu has issued a HLT instruction with interrupts disabled then it sleeps 2014-07-26 02:53:51 +00:00
Makefile