[vfio-users] GPU Passthrough, 2 GPUs to different virtual machines

P. Pronk vfio at pronk.nl
Sun Dec 31 12:58:21 UTC 2017


Did you check if the 1060 has a rom with EFI support? See here:
https://vfio.blogspot.com/2014/08/does-my-graphics-card-rom-support-efi.html

If you have successfully downloaded the rom from the 1060 you could also
specify that rom file in your qemu xml:
https://libvirt.org/formatdomain.html#elementsHostDevSubsys


On 31/12/17 13:31, Sascha Fröhlich wrote:
> I am loading the appropiate vfio modules at boot time before the
> nvidia module and I use efifb=off as kernel parameter. lspci -nnk
> states that the 2 cards are correctly claimed by vfio-pci.
>
> Additionally, I tried to use the driver_override approach mentioned in
> the blog post, but to no avail.
>
> 2017-12-31 13:21 GMT+01:00 Torbjorn Jansson
> <torbjorn.jansson at mbox200.swipnet.se
> <mailto:torbjorn.jansson at mbox200.swipnet.se>>:
>
>     On 2017-12-31 12:25, Sascha Fröhlich wrote:
>
>         Hi,
>
>         I am trying to get the following setup with a Xeon E5/ASUS
>         X99-A II to work:
>
>         First slot:      GTX 1060     -> VM 1
>         Second slot: GTX 1070 -> VM 2
>         Third slot:     GT 710         -> Host
>
>         This is the latest ArchLinux. I had to use the propietary
>         NVIDIA drivers
>         and an additional Xorg configuration for the host GPU, because
>         nouveau
>         would flicker and crash. No need to blacklist anything.
>
>         IOMMU and VFIO works fine though, lspci -nn -k reports the two
>         GTX GPUs
>         using vfio-pci:
>         https://gist.github.com/anonymous/89ebd0e18464cef3c5dde6897c39eb5f
>         <https://gist.github.com/anonymous/89ebd0e18464cef3c5dde6897c39eb5f>
>
>
>     did you make sure that the proprietary nvidia driver is never
>     attached/loaded for the 2 cards you intend to forward to a vm?
>     see:
>     http://vfio.blogspot.se/2015/05/vfio-gpu-how-to-series-part-3-host.html
>     <http://vfio.blogspot.se/2015/05/vfio-gpu-how-to-series-part-3-host.html>
>
>
>
>
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20171231/4c2bc817/attachment.htm>


More information about the vfio-users mailing list