docs: drvbhyve: document NVRAM support

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>
This commit is contained in:
Roman Bogorodskiy
2025-05-21 19:02:52 +02:00
parent 14c05d8f3e
commit eb9b48bddf
+20
View 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:
::