diff options
author | Corvin Köhne <corvink@FreeBSD.org> | 2023-02-06 10:43:49 +0000 |
---|---|---|
committer | Corvin Köhne <corvink@FreeBSD.org> | 2023-04-05 10:00:39 +0000 |
commit | ee3a7907bb987b104246efd149c4af251e7bc402 (patch) | |
tree | 76c3ea1ee8b592411a827241d3acedb9d2809367 /usr.sbin/vigr | |
parent | df7798be4e388fe6d40184021c8885f5d43b769b (diff) | |
download | src-ee3a7907bb987b104246efd149c4af251e7bc402.tar.gz src-ee3a7907bb987b104246efd149c4af251e7bc402.zip |
bhyve: add helper to read PCI IDs from bhyve config
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.
Reviewed by: jhb
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D38402
(cherry picked from commit ffaed739a80319a56d0b1dfd6cedeb3d194ff42c)
Diffstat (limited to 'usr.sbin/vigr')
0 files changed, 0 insertions, 0 deletions