Peter Krempa wrote:
On Thu, Apr 23, 2026 at 20:15:16 +0200, Roman Bogorodskiy wrote:
Currently, there are two (at least) issues in virBhyveProcessStop().
Before going into details, a quick overview of the bhyve shutdown process. It is a two stage process*: first, the main bhyve
I noticed I put a mark (*) and forgot to explain it. In FreeBSD -CURRENT bhyve has a monitor mode: -M Run the VM in ‘monitor’ mode. In this mode, a guest reboot does not cause the bhyve process to exit. Instead, bhyve will restart the VM. Once the bhyve process exits or is killed, the VM will be destroyed automatically. So I think at some point the two stage shutdown will go away. But as this feature is not available in any released FreeBSD version, and as I didn't test it, it is quite unlikely that it will happen soon. [...]
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Thanks for reviews! As it is a freeze now, and also considering that I'll be mostly AFK next week, I'll push this and the virtio-console series after the release. Thanks, Roman