On 10/23/26 09:11, Roman Bogorodskiy wrote:
> The bhyve driver requests signal-based shutdown by sending a
> SIGTERM signal to the bhyve process.
> 
> On amd64 bhyve handles this signal to start ACPI shutdown.
> 
> On arm64 bhyve does not implement ACPI shutdown, so it does
> not implement a signal handler for SIGTERM and just terminates.
> 
> These cases are seen differently in the monitor, and the
> latter case is not handled, which could result in stopped
> domain reported as running. Fix by handling both cases.
> 
> Signed-off-by: Roman Bogorodskiy <[email protected]>
> ---
>  src/bhyve/bhyve_monitor.c | 14 +++++++++++---
>  1 file changed, 11 insertions(+), 3 deletions(-)

Reviewed-by: Michal Privoznik <[email protected]>

Michal

Reply via email to