Re: [PATCH v4 06/17] PCI: add SIOV and IMS capability detection

From: Dan Williams
Date: Fri Nov 06 2020 - 20:42:56 EST


On Fri, Nov 6, 2020 at 4:12 PM Jason Gunthorpe <jgg@xxxxxxxxxx> wrote:
>
> On Fri, Nov 06, 2020 at 03:47:00PM -0800, Dan Williams wrote:
[..]
> The only sane way to implement this generically is for the VMM to
> provide a hypercall to obtain a real *working* addr/data pair(s) and
> then have the platform hand those out from
> pci_subdevice_msi_create_irq_domain().

Yeah, that seems a logical attach point for this magic. Appreciate you
taking the time to lay it out.