]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: add cmdline option to enable qemu's fwcfg
authorCorvin Köhne <corvink@FreeBSD.org>
Wed, 18 Aug 2021 07:31:59 +0000 (09:31 +0200)
committerCorvin Köhne <corvink@FreeBSD.org>
Fri, 17 Mar 2023 08:35:36 +0000 (09:35 +0100)
commitd85147f3d6811c04e250bfb4597783d8844de315
tree16ed00de674ace74ef9e7fb5170a7c3b52841ee9
parent6f9ebb3d0fed2b0ae604dd6daf17f1fe1d8df216
bhyve: add cmdline option to enable qemu's fwcfg

Let the user decide if he wants to use bhyve's fwctl or qemu's fwcfg. He
can set the interface by adding a fwcfg option to bootrom:

-l bootrom,<path/to/rom>,fwcfg=bhyve
-l bootrom,<path/to/rom>,fwcfg=qemu

Reviewed by: markj
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D38337
usr.sbin/bhyve/Makefile
usr.sbin/bhyve/bhyve.8
usr.sbin/bhyve/bhyve_config.5
usr.sbin/bhyve/bhyverun.c
usr.sbin/bhyve/pci_lpc.c
usr.sbin/bhyve/pci_lpc.h
usr.sbin/bhyve/qemu_fwcfg.c