[vfio-users] Passthru of one GPU with a PC with 2 identical GPUs installed

David Sutton kantras at gmail.com
Sun May 19 18:14:11 UTC 2019


James,

On Sun, May 19, 2019 at 3:31 AM James Courtier-Dutton <
james.dutton at gmail.com> wrote:

> Hi,
>
> I have a PC with two identical GPUs.
> One I wish to hand over to vfio and do passthru with, the other I wish the
> host to use.
> I know about commands like:
> echo 1002 687f  >/sys/bus/pci/drivers/vfio-pci/new_id
>
> But those will cause both GPUs to be claimed by vfio.
> I would prefer to do it by slot, e.g. echo 09:00.0
> >/sys/bus/pci/drivers/vfio-pci/new_id
> But, I cannot see how to do it by slot instead of PCI-ID.
>
> Any clues?
>

Typically you have to do this via a script, kicked off in the boot
sequence; an example of this can be found part-way into the following blog
post:

http://vfio.blogspot.com/2015/05/vfio-gpu-how-to-series-part-3-host.html


>
> Kind Regards
>
> James
>

Regards,

  David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20190519/e4c18c57/attachment.htm>


More information about the vfio-users mailing list