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 <bogorods...@gmail.com>
---
 docs/drvbhyve.rst | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/docs/drvbhyve.rst b/docs/drvbhyve.rst
index e93ef0f447..7eec4a2123 100644
--- a/docs/drvbhyve.rst
+++ b/docs/drvbhyve.rst
@@ -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:
 
 ::
-- 
2.49.0

Reply via email to