HomeFreeBSD

bhyve: add config option to modify LPC IDs

Description

bhyve: add config option to modify LPC IDs

The Intel GOP driver checks the LPC IDs to detect the platform it's
running on. The GOP driver only works on the platforms it's written for.
Maybe other Intel driver have the same behaviour. For that reason, we
should use the LPC IDs of the FreeBSD host for GPU passthrough to work
properly.

We don't know if setting different LPC IDs have any side effect.
Therefore, don't use the host LPC IDs by default on Intel system. Give
the user the opportunity to modify the LPC IDs.

Reviewed by: jhb
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D28280

Details

Provenance
corvinkAuthored on Nov 23 2021, 12:14 PM
Reviewer
jhb
Differential Revision
D28280: bhyve: add config option to modify lpc ids
Parents
rGb72e06b13ee0: bhyve: make use of helper to read PCI IDs from bhyve config
Branches
Unknown
Tags
Unknown