Re: how to make bhyve gracefully shutdown a guest

From: void <void_at_f-m.fm>
Date: Tue, 14 Oct 2025 10:05:32 UTC
On Mon, Oct 13, 2025 at 06:38:15PM -0700, Paul Vixie wrote:
>Kill(1) on bhyve with the default TERM signal makes bhyve 
>send acpi shutdown to the guest. This is what vm-bhyve seems to do.

OK thanks for that. Kind of surprised bhyvectl doesn't, well, ctl
in this way, but here we are.

The context is where there's a stable/15 server running various
linux and otherbsd guests. I want sysutils/nut (client) to shut down 
everything gracefully when battery gets to 10%. I thought I could
do that by getting nut to tell the server via bhyvectl to gently 
poweroff the clients directly. Or failing that, run nut on the 
server to do the same.

In the datacentres there's different equipment to handle this. 
It's the first time i'm hand-rollong it.
--