[vfio-users] Question about device ID

Eddie Yen missile0407 at gmail.com
Fri Jul 7 07:05:48 UTC 2017


Hi everyone,

This question may dumb but I really don't know how to analysis the deeper
ID.

According from Alex Williamson's VIO blog, we can do a trick that make all
NVIDIA or AMD GPUs catch and drive by VFIO driver.

options vfio-pci ids=
1002:ffffffff:ffffffff:ffffffff:00030000:ffff00ff,1002:ffffffff:ffffffff:ffffffff:00040300:ffffffff,10de:ffffffff:ffffffff:ffffffff:00030000:ffff00ff,10de:ffffffff:ffffffff:ffffffff:00040300:ffffffff

But how do I know to found these information?

For "00030000", I found that it means device class when check lspci.
But for "ffff00ff" in the 0300 end, I don't know where to find this
information.

Because I may going to passthrough the compute GPU, like NVIDIA Tesla, and
obviously it will be a different device class and other ID position.

Does anyone know about this?


Many thanks,
Eddie.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20170707/892a5be6/attachment.htm>


More information about the vfio-users mailing list