HomeFreeBSD

bhyve: add common fwcfg items

Description

bhyve: add common fwcfg items

Qemu defines some common fwcfg items. We don't need to support all of
them. Only a subset needs to be present for fwcfg to work properly.

  • signature The signature is used by the guest to check if qemu's fwcfg is available or not.
  • id The id is used by the guest to check which features are supported by the fwcfg implementation of the hypervisor.
  • file_dir The file dir reports all fwcfg items which don't have a fixed index. These are mostly user defined fwcfg items.

Reviewed by: <If someone else reviewed your modification.>
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D38335

(cherry picked from commit 34f804e547e7c3b10b12f5450ff2e0a771000daf)

Details

Provenance
corvinkAuthored on Aug 11 2021, 8:02 AM
Differential Revision
D38335: bhyve: add common fwcfg items
Parents
rG1adfb2e834c5: bhyve: add helper to add fwcfg items
Branches
Unknown
Tags
Unknown