Neel Natu e50ce2aa06 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.

Tested by executing "halt" inside a RHEL7-beta guest.

Discussed with:	grehan@
Reviewed by:	jhb@, tychon@
2014-05-02 00:33:56 +00:00
..
2014-04-07 20:44:00 +00:00
2014-04-30 02:29:31 +00:00
2014-03-31 16:37:41 +00:00
2014-05-01 22:28:14 +00:00
2014-04-29 20:57:25 +00:00
2014-04-30 04:02:57 +00:00
2014-04-17 12:22:08 +00:00
2014-04-20 05:40:13 +00:00
2014-04-30 20:52:38 +00:00
2014-04-05 22:43:18 +00:00
2014-04-05 22:43:18 +00:00