git: 7de39f926cd0 - stable/14 - vmm.4: Add verbiage about need to load module from loader.conf

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Sat, 04 May 2024 13:18:28 UTC
The branch stable/14 has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=7de39f926cd0aac52f292a5e8bb7b065c891cd6d

commit 7de39f926cd0aac52f292a5e8bb7b065c891cd6d
Author:     Michael Galassi <michael@galassi.us>
AuthorDate: 2024-03-06 14:49:21 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2024-05-04 13:18:05 +0000

    vmm.4: Add verbiage about need to load module from loader.conf
    
    PR:             277530
    MFC after:      1 week
    Co-authored-by: Mateusz Piotrowski <0mp@FreeBSD.org>
    
    (cherry picked from commit d0168b32bc67033414e43f07eff2a4e850652c29)
---
 share/man/man4/vmm.4 | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/share/man/man4/vmm.4 b/share/man/man4/vmm.4
index cb3276a7d8f1..dfd7ad26fb98 100644
--- a/share/man/man4/vmm.4
+++ b/share/man/man4/vmm.4
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd October 12, 2023
+.Dd March 6, 2024
 .Dt VMM 4
 .Os
 .Sh NAME
@@ -70,6 +70,19 @@ See the
 .Sx EXAMPLES
 section below for sample usage.
 .Pp
+Note that
+.Nm vmm
+must be given first the right of refusal to all
+.Xr pci 4
+devices it may need to claim.
+As a result, the
+.Nm vmm
+kernel module almost certainly needs to be loaded from
+.Xr loader.conf 5
+rather than by adding it to
+.Va kld_list in
+.Xr rc.conf 5 .
+.Pp
 A large number of PCI device entries may require a string longer than the
 128-character limit of
 .Xr loader.conf 5