[vfio-users] vfio passthrough devices behind pcie switcher problem

rhett rhett rhett.kernel at gmail.com
Wed Mar 8 03:26:17 UTC 2017


two gpus share the same irq , i found the reason. because the msi be
disabled later , so irq 140 is being reused.

but i don't know why somebady calls vfio_pci_ioctl to disable the msi.

2017-03-08 10:55 GMT+08:00 rhett rhett <rhett.kernel at gmail.com>:

> i have a question about vfio , here is my description.
>
> i have 8 gpus in my server machine ,  but they are all behind a pcie
> bridge.  when i make a vfio passthrough , i can't use the gpus in my guest
> os.
> dmesg shows the following message
>
> [  662.208072] vfio-pci 0000:87:00.0: irq 140 for MSI/MSI-X
> [  725.761623] vfio-pci 0000:04:00.0: irq 140 for MSI/MSI-X
>
> i started two vm , one use 87 and another use 04,  dmesg shows that they
> share the same irq 140 . is this normal ?
>
> i also saw the iommu groups, each gpu stays in a separate group, and with
> no other device in group. so this means ACS works correctly ?
>
> hope to get your helps !
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20170308/e1dd8b48/attachment.htm>


More information about the vfio-users mailing list