Re: [PATCH 8/9] vfio/pci: use x86 naming instead of igd

From: Christoph Hellwig
Date: Thu Feb 11 2021 - 03:54:00 EST


On Tue, Feb 02, 2021 at 04:59:23PM -0700, Alex Williamson wrote:
> vfio-pci-igd support knows very little about the device, we're
> effectively just exposing a firmware table and some of the host bridge
> config space (read-only). So the idea that the host kernel needs to
> have updated i915 support in order to expose the device to userspace
> with these extra regions is a bit silly.

On the other hand assuming the IGD scheme works for every device
with an Intel Vendor ID and a VGA classcode that hangs off an Intel
host bridge seems highly dangerous. Is this actually going to work
for the new discreete Intel graphics? For the old i740? And if not
what is the failure scenario?