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
F102449754: D38402.diff
Tue, Nov 12, 10:52 AM
F102388107: D38402.id116568.diff
Mon, Nov 11, 2:22 PM
F102382636: D38402.id119492.diff
Mon, Nov 11, 12:31 PM
Unknown Object (File)
Mon, Nov 11, 10:45 AM
Unknown Object (File)
Wed, Nov 6, 4:01 PM
Unknown Object (File)
Wed, Nov 6, 4:01 PM
Unknown Object (File)
Tue, Nov 5, 3:24 AM
Unknown Object (File)
Tue, Nov 5, 3:12 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 49563
Build 46453: arc lint + arc unit