[PATCH] Support for S5 (soft power off) in bhyve

Michael Dexter editor at callfortesting.org
Wed Dec 25 15:43:29 UTC 2013


John,

This is awesome.

Can this be triggered from the host to shut down an unresponsive VM?

If so, syntax?

Michael



On 12/23/13 11:43 AM, John Baldwin wrote:
> To that end, I've implemented support for
> a few more registers (such of which are non-optional in ACPI) including the
> Reset Control register (0xcf9), ACPI Power Management 1 Event registers
> (PM1_EVT) and the ACPI Power Management 1 Control register (PM1_CNT).  I added
> a valid _S5 package and catch writes of the value _S5 specifies to ask bhyve
> to exit gracefully but with an exit code of 1 (so the loop in vmrun
> terminates).



More information about the freebsd-virtualization mailing list