<div dir="ltr">You really think vfio-pci never send commands to the card?<div><br></div><div>If it is the case, how linux can put this device to sleep? Vfio-pci manage the card. It just pass command from vm to the card :)</div><div><br></div><div>I know, i have ~5 pcie controllers linked to my vm, gpu, nvme disk, usb controller, audio controller and sata controller.</div><div><br></div><div>nvme and sata controller can navigate between linux and windows without problems, drivers seems pretty stables.</div><div>USB controller, and gpu can't be used on linux if they are not "cleanly" shutted down by windows. (usb controller can't execute commands, and my r9 290 hard freezes)</div><div><br></div><div>PCIe reset is really complicated because it work differently on a pcie device to another.</div><div><br></div><div>I tried during a period to dompmsuspend vm then host. And re-start vm at host wakeup. Sometimes it work, sometimes hard freeze.</div><div><br></div><div>Think that this capacity was never tested by AMD and nvidia. Just because it never happen in real life with 99.99999% of computers.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">--<div>Deldycke Quentin<br></div><div><div><br></div></div></div></div></div>
<br><div class="gmail_quote">On 18 April 2017 at 18:13, Patrick O'Callaghan <span dir="ltr"><<a href="mailto:poc@usb.ve" target="_blank">poc@usb.ve</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 2017-04-18 at 14:02 +0200, Quentin Deldycke wrote:<br>
> In your case, another OS (linux) use this card at a moment or another,<br>
> reset some bus (when re-binded to vfio). The reset of cards is already<br>
> hardly supported by windows / linux driver.<br>
<br>
</span>This is a pass-through device. The whole point is that Linux never<br>
touches it. If Windows can save/restore its state, that should be<br>
enough in theory.<br>
<span class="HOEnZb"><font color="#888888"><br>
poc<br>
</font></span></blockquote></div><br></div>