Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2013 07:43:27 -0800
From:      Michael Dexter <editor@callfortesting.org>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: [PATCH] Support for S5 (soft power off) in bhyve
Message-ID:  <52BAFD1F.3060404@callfortesting.org>
In-Reply-To: <201312231443.39282.jhb@freebsd.org>
References:  <201312231443.39282.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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).




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52BAFD1F.3060404>