]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve hostbridge: Rename "device" property to "devid".
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 24 Mar 2021 16:29:15 +0000 (09:29 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 11 Aug 2021 22:12:23 +0000 (15:12 -0700)
commitf08d1570fa760e98d82ec209a948a42dc49ab0da
tree4ac3bc67c0285051dbdbfdd6c24416d3f4613f99
parent525024fc9cbfcafe9470cdaf1d4aedec62b6fa6d
bhyve hostbridge: Rename "device" property to "devid".

"device" is already used as the generic PCI-level name of the device
model to use (e.g. "hostbridge").  The result was that parsing
"hostbridge" as an integer failed and the host bridge used a device ID
of 0.  The EFI ROM asserts that the device ID of the hostbridge is not
0, so booting with the current EFI ROM was failing during the ROM
boot.

Fixes: 621b5090487de9fed1b503769702a9a2a27cc7bb

(cherry picked from commit 9f40a3be3d5dbddf782c3d1eeaadcd022a4dad01)
usr.sbin/bhyve/bhyve_config.5
usr.sbin/bhyve/pci_hostbridge.c