git: 667b6029a218 - main - sysutils/vm-bhyve(-devel): add note to increase shutdown timers

From: Dries Michiels <driesm_at_FreeBSD.org>
Date: Wed, 19 Mar 2025 13:26:28 UTC
The branch main has been updated by driesm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=667b6029a21821883483beb71882c521f5177bd4

commit 667b6029a21821883483beb71882c521f5177bd4
Author:     Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2025-03-19 13:25:09 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2025-03-19 13:26:18 +0000

    sysutils/vm-bhyve(-devel): add note to increase shutdown timers
    
    PR:     237646
---
 sysutils/vm-bhyve-devel/pkg-message | 5 +++++
 sysutils/vm-bhyve/pkg-message       | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/sysutils/vm-bhyve-devel/pkg-message b/sysutils/vm-bhyve-devel/pkg-message
index e04a7ea5298f..bc7f772d41b3 100644
--- a/sysutils/vm-bhyve-devel/pkg-message
+++ b/sysutils/vm-bhyve-devel/pkg-message
@@ -14,6 +14,11 @@ OR
     vm_dir="/directory/path"
 
 Then run 'vm init'.
+
+It might be needed to increase the values of the following tunables.
+They need to be high enough to allow for a proper shutdown of all VM's.
+- kern.init_shutdown_timeout (adjusted with sysctcl.conf)
+- rcshutdown_timeout (adjusted with rc.conf)
 EOM
 }
 ]
diff --git a/sysutils/vm-bhyve/pkg-message b/sysutils/vm-bhyve/pkg-message
index e04a7ea5298f..bc7f772d41b3 100644
--- a/sysutils/vm-bhyve/pkg-message
+++ b/sysutils/vm-bhyve/pkg-message
@@ -14,6 +14,11 @@ OR
     vm_dir="/directory/path"
 
 Then run 'vm init'.
+
+It might be needed to increase the values of the following tunables.
+They need to be high enough to allow for a proper shutdown of all VM's.
+- kern.init_shutdown_timeout (adjusted with sysctcl.conf)
+- rcshutdown_timeout (adjusted with rc.conf)
 EOM
 }
 ]