diff options
author | jhb <jhb@FreeBSD.org> | 2014-07-21 02:39:17 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2014-07-21 02:39:17 +0000 |
commit | 888f6511e321556007cf471f691cb84d9a817237 (patch) | |
tree | 84ace0524c020288c47a07096fb6abcb1d3387d4 /contrib/llvm/lib/CodeGen/MachineInstrBundle.cpp | |
parent | d034cf40e56b09120dc35d432b7fdc536c54f6ec (diff) | |
download | FreeBSD-src-888f6511e321556007cf471f691cb84d9a817237.zip FreeBSD-src-888f6511e321556007cf471f691cb84d9a817237.tar.gz |
MFC 263780,264516,265062,265101,265203,265364:
Add an ioctl to suspend a virtual machine (VM_SUSPEND).
Add logic in the HLT exit handler to detect if the guest has put all vcpus
to sleep permanently by executing a HLT with interrupts disabled.
When this condition is detected the guest with be suspended with a reason of
VM_SUSPEND_HALT and the bhyve(8) process will exit.
This logic can be disabled via the tunable 'hw.vmm.halt_detection'.
Diffstat (limited to 'contrib/llvm/lib/CodeGen/MachineInstrBundle.cpp')
0 files changed, 0 insertions, 0 deletions