[vfio-users] Finding a suitable replacement mainboard for GPU passthrough

Alex Williamson alex.l.williamson at gmail.com
Wed Sep 28 20:10:34 UTC 2016


On Wed, Sep 28, 2016 at 1:58 PM, Martin Schrodt <martin at schrodt.org> wrote:

> On 09/28/2016 09:40 PM, Alex Williamson wrote:
> >     3) The first and the second PCIe-slot are in the same IOMMU-group,
> >     preventing me to use a second GPU for the host in slot 2 without
> >     ACS-override. (*1)
> >
> > Of course, you need a certain class of processors to have ACS, Z170
> > doesn't support any of those processors.  See
> > http://vfio.blogspot.com/2015/10/intel-processors-with-acs-support.html
> >  You need an X99 motherboard for that.
>
> Oh, thanks for the hint, I did not know this before. I did not want to
> ACS-override anyway, and thought there would be mainboard layouts that
> would separate those 2 slots even on Z170. Is this not the case?
>

This is not the case.  The processor does not support ACS itself and there
is no configuration of processor root ports or downstream switches that can
fix that.  On the consumer grade hardware only the PCH-based root ports can
be configured for isolation.  Those will often still give you one or more
x16 slots that can host a graphics card, but it is a longer path to memory
and the CPU.


> >     5) The VM is dead after I suspend/resume the host.
> >
> > Hmm, if you're thinking a VM with assigned devices should survive a host
> > suspend/resume, I'm not sure that's a reasonable expectation right now.
>
> Yea, I suspected as such. But I found this guy on github
>
> https://github.com/qdel/scripts/tree/master/vfio/systemd
>
> who claims he can do it by using systemd-hooks to suspend / resume the
> VM before going to sleep / after waking up.
>
> His scripts simply issue a
>
> virsh dompmsuspend --domain win10 --target mem
>
> and a
>
> sudo virsh dompmwakeup win10
>
> If I try to replicate this, it'll go to sleep but not wake up on the
> second command. Maybe that's also because of the passed through ASMedia
> Device, I didn't test yet.
>

Ok, that's a start, but I don't even have a lot of confidence in suspending
and resuming the VM with a device assigned.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160928/98b133ae/attachment.htm>


More information about the vfio-users mailing list