Page MenuHomeFreeBSD

bhyve: add helper to read pci ids from bhyve config
ClosedPublic

Authored by corvink on Feb 6 2023, 2:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 10, 11:35 AM
Unknown Object (File)
Wed, Jul 9, 1:50 PM
Unknown Object (File)
Wed, Jul 9, 5:41 AM
Unknown Object (File)
Tue, Jul 8, 5:04 AM
Unknown Object (File)
Wed, Jul 2, 7:48 AM
Unknown Object (File)
Tue, Jul 1, 2:36 AM
Unknown Object (File)
Mon, Jun 30, 10:48 PM
Unknown Object (File)
Mon, Jun 30, 2:52 AM
Subscribers

Details

Summary

Changing the pci ids is valuable in some situations. The Intel GOP
driver requires that some pci ids of the lpc bridge are aligned with the
physical values of the host lpc bridge. Another use case are oracles
virtio driver. They require different subvendor id than the default one.
For that reason, create a helper which makes it easy to read pci ids
from bhyve config. Additionally, this helper ensures that all emulation
devices are using the same config keys.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable