Date: Tue, 14 Oct 2025 11:05:32 +0100 From: void <void@f-m.fm> To: virtualization@freebsd.org Subject: Re: how to make bhyve gracefully shutdown a guest Message-ID: <aO4gbPTuVgIOy2Ql@int21h> In-Reply-To: <f9ebaab3-418b-4c3e-87d8-c181e90c8481@redbarn.org> References: <aO2fP9-YlamL_uYK@int21h> <f9ebaab3-418b-4c3e-87d8-c181e90c8481@redbarn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aO4gbPTuVgIOy2Ql>