[PATCH 1/2] NEWS: bhyve: document NVRAM support

Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com> --- NEWS.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index e924c08fbf..102e49373a 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -23,6 +23,14 @@ v11.4.0 (unreleased) That option suppresses registration of pkttyagent with polkitd. + * bhyve: support NVRAM configuration for UEFI firmwares + + The bhyve driver now supports specifying NVRAM store file, such as :: + + <os firmware='efi'> + <nvram/> + </os> + * **Bug fixes** * qemu: Fix failure when reverting to internal snapshots -- 2.49.0

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> --- 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

On 5/20/25 19:07, Roman Bogorodskiy wrote:
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> --- docs/drvbhyve.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Michal

On 5/20/25 19:07, Roman Bogorodskiy wrote:
Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com> --- NEWS.rst | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst index e924c08fbf..102e49373a 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -23,6 +23,14 @@ v11.4.0 (unreleased)
That option suppresses registration of pkttyagent with polkitd.
+ * bhyve: support NVRAM configuration for UEFI firmwares + + The bhyve driver now supports specifying NVRAM store file, such as ::
Drop this space after 'as' so that in the rendered news.html this reads: ...NVRAM store file, such as:
+ + <os firmware='efi'> + <nvram/> + </os> + * **Bug fixes**
* qemu: Fix failure when reverting to internal snapshots
Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Michal
participants (2)
-
Michal Prívozník
-
Roman Bogorodskiy