John Baldwin 6450da0774 Support soft power-off via the ACPI S5 state for bhyve guests.
- Implement the PM1_EVT and PM1_CTL registers required by ACPI.
  The PM1_EVT register is mostly a dummy as bhyve doesn't support any
  of the hardware-initiated events.  The only bit of PM1_CNT that is
  implemented are the sleep request bits (SPL_EN and SLP_TYP) which
  request a graceful power off for S5.  In particular, for S5, bhyve
  exits with a non-zero value which terminates the loop in vmrun.sh.
- Emulate the Reset Control register at I/O port 0xcf9 and advertise
  it as the reset register via ACPI.
- Advertise an _S5 package.
- Extend the in/out interface to allow an in/out handler to request
  that the hypervisor trigger a reset or power-off.
- While here, note that all vCPUs in a guest support C1 ("hlt").

Reviewed by:	neel (earlier version)
2013-12-24 16:14:19 +00:00
..
2013-03-17 06:54:04 +00:00
2013-07-10 07:40:30 +00:00
2013-12-02 19:49:52 +00:00
2012-10-07 19:53:04 +00:00
2013-10-30 11:41:28 +00:00
2013-05-10 16:41:26 +00:00
2012-03-26 21:22:53 +00:00
2012-03-26 15:18:14 +00:00
2013-10-09 13:48:08 +00:00
2012-09-01 10:56:15 +00:00
2010-12-20 08:54:30 +00:00
2013-04-11 18:46:41 +00:00
2013-12-10 05:01:01 +00:00
2012-05-17 11:50:12 +00:00
2010-12-20 09:36:54 +00:00
2012-07-04 10:17:02 +00:00
2013-12-23 17:47:04 +00:00
2012-09-11 07:35:24 +00:00
2013-04-11 18:46:41 +00:00
2013-09-07 20:25:22 +00:00
2013-12-15 23:05:19 +00:00
2013-04-22 18:31:39 +00:00
2013-05-13 18:13:50 +00:00
2013-05-12 22:22:12 +00:00
2012-03-26 21:22:53 +00:00
2013-11-21 19:31:57 +00:00
2013-07-15 05:09:13 +00:00