]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: drvbhyve: document NVRAM support
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Tue, 20 May 2025 17:01:52 +0000 (19:01 +0200)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Wed, 21 May 2025 17:02:52 +0000 (19:02 +0200)
Add a couple of examples of the explicit NVRAM configuration, and also
an automatic configuration, along with `<os firmware="efi">`.

Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/drvbhyve.rst

index e93ef0f44728824e9cb8fc5e320b7a60450f67f0..7eec4a2123aeb46a244646e63c764f3285a61559 100644 (file)
@@ -329,6 +329,26 @@ This uses the UEFI firmware provided by the
 `sysutils/bhyve-firmware <https://www.freshports.org/sysutils/bhyve-firmware/>`__
 FreeBSD port.
 
+:since:`Since 11.4.0`, it's possible to configure an NVRAM file:
+
+::
+
+    <os>
+      <type>hvm</type>
+      <loader readonly="yes" type="pflash">/usr/local/share/uefi-firmware/BHYVE_UEFI.fd</loader>
+      <nvram template='/usr/local/share/edk2-bhyve/BHYVE_UEFI_VARS.fd'>/var/lib/libvirt/bhyve/nvram/myvm.fd</nvram>
+    </os>
+
+Alternatively, it's also possible to let the driver automatically configure
+the firmware and NVRAM:
+
+::
+
+    <os firmware='efi'>
+      <type>hvm</type>
+      <nvram/>
+    </os>
+
 VNC and the tablet input device could be configured this way:
 
 ::