[vfio-users] R9 290 Passthrough not working on Linux

guidugli at gmail.com guidugli at gmail.com
Sun Feb 26 14:48:44 UTC 2017


Not sure why, but I had to do this way in order for Windows to work.
When I tried to put both together, Windows would blue screen all the
time.
I tried yesterday the configuration below, and it had the same result:
   <hostdev mode='subsystem' type='pci'
managed='yes'>      <source>        <address domain='0x0000' bus='0x01'
slot='0x00' function='0x0'/>      </source>      <address type='pci'
domain='0x0000' bus='0x02' slot='0x07'
function='0x0'/>    </hostdev>    <hostdev mode='subsystem' type='pci'
managed='yes'>      <source>        <address domain='0x0000' bus='0x01'
slot='0x00' function='0x1'/>      </source>      <address type='pci'
domain='0x0000' bus='0x02' slot='0x08' function='0x0'/>    </hostdev>
On Sun, 2017-02-26 at 12:15 +0100, Friedrich Oslage wrote:
>     Don't know if that's the cause for the amdgpu driver to fail but
> in
>     your libvirt xml you are splitting the multifunction device into
> two
>     separate devices.
> 
>     
> 
>     For the primary device you have:
> 
>     source: <address domain="0x0000" bus="0x01" slot="0x00"
>     function="0x0"/>
> 
>     virtual: <address type="pci" domain="0x0000" bus="0x03"
>     slot="0x00" function="0x0" multifunction="on"/>
> 
>     
> 
>     And for the audio subdevice you have:
> 
>     source: <address domain="0x0000" bus="0x01" slot="0x00"
>     function="0x1"/>
> 
>     virtual: <address type="pci" domain="0x0000" bus="0x02"
>     slot="0x09" function="0x0"/>
> 
>     
> 
>     Which should reside on the same bus/slot as the primary device:
> 
>     source: <address domain="0x0000" bus="0x01" slot="0x00"
>     function="0x1"/>
> 
>     virtual: <address type="pci" domain="0x0000" bus="0x03"
>     slot="0x01" function="0x1"/>
> 
>     
> 
>     Regards,
> 
>     Friedrich
> 
>     
> 
>     
>       
>         From:
>             guidugli at gmail.com
> 
>         Subject:
>             [vfio-users] R9 290 Passthrough not working on Linux
> 
>         Date:
>             Saturday, Feb 25, 2017 20:59 CET
> 
>         To:
>             vfio-users at redhat.com
> 
>         
> 
>       
>     
>     
> >       Hi,
> > 
> > For quite some time I have been able to do a pass-through of R9 290
> > to
> > Windows VMs using KVM. The problem is that I tried to use Linux and
> > it
> > does not work. Tried Fedora and Ubuntu and both did not work. Funny
> > thing is that Ubuntu startup/shutdown screens show on the secondary
> > monitor but not the system itself.
> > 
> > I tried using i440FX and Q35, same results. Used the same
> > configuration
> > I use for my working Windows VMs.
> > 
> > I had opened a but few months ago but no answer so far.
> > https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+b
> > ug/1
> > 633777
> > 
> > I just wonder if someone was able to bypass this problem or has
> > some
> > suggestion.
> > 
> > Thank you,
> > 
> > Carlos
> > 
> > _______________________________________________
> > 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/20170226/fba1261d/attachment.htm>


More information about the vfio-users mailing list