]> 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, 24 Mar 2021 16:29:15 +0000 (09:29 -0700)
commit9f40a3be3d5dbddf782c3d1eeaadcd022a4dad01
tree5a2035ded9a5e10b8171e1226e3e5d24ed3d97fc
parent88588c4b7611a39cdf965c3c07d8fcc13ed553b4
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
usr.sbin/bhyve/bhyve_config.5
usr.sbin/bhyve/pci_hostbridge.c