]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: drvbhyve: document SLIRP networking
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Mon, 24 Nov 2025 18:35:00 +0000 (19:35 +0100)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Tue, 16 Dec 2025 18:26:47 +0000 (19:26 +0100)
Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
docs/drvbhyve.rst

index c0f4cd8a1fb3925ad4581ba530287b7b8a827aa3..dfcdb011d216d955d8b234873e9320878cc3e780 100644 (file)
@@ -694,6 +694,30 @@ Users must configure the device for passthrough manually either by
 using ``devctl(8)`` or by setting ``pptdevs`` in ``loader.conf(5)``.
 Please refer to the ``vmm(4)`` manual page for more details.
 
+SLIRP networking
+~~~~~~~~~~~~~~~~
+:since:`Since 12.0.0`, it is possible to use SLIRP networking.
+
+Example:
+
+::
+
+  ...
+    <interface type='user'>
+      <model type='e1000'/>
+    </interface>
+  ...
+
+Then the guest will have external network connectivity without
+any configuration on the host.
+
+.. note::
+   This configuration requires SLIRP open mode support by ``bhyve``.
+   It was introduced in FreeBSD -CURRENT in this commit:
+   https://cgit.FreeBSD.org/src/commit/?id=0e62ebd20172f67283bac9526c2aaeaffeb41b45.
+   Unfortunately, there is no (easy) way to probe its support in libvirt,
+   so please consult the ``bhyve(8)`` manual page to make sure it is available.
+
 Guest-specific considerations
 -----------------------------