<div dir="ltr">Yes, but windows <u>knows</u> the passed device is then shutdown. At reboot windows <u>knows</u> that the device is "freshly" rebooted.<div><br></div><div>In your case, another OS (linux) use this card at a moment or another, reset some bus (when re-binded to vfio). The reset of cards is already hardly supported by windows / linux driver.</div><div><br></div><div>For my case: i know that my r9 290 can hard freeze if i shudown badly my windows vm: the os is completely unloaded "software speaking" but the card not, and it is still "powered".</div><div>2 options, when i restart the driver crash windows, or the driver crash windows + the card + the host.</div><div><br></div><div>No problem when making a correct windows shut-down / start => the card is cleanly unloaded by windows and cleanly restarted.</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 13:53, 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 13:32 +0200, Quentin Deldycke wrote:<br>
> You can't do like this. Even sleep is not correctly supported.<br>
><br>
> What is happening to the card during reboot? How windows can know?<br>
<br>
</span>Windows supports hibernation on some machines (e.g. laptops and<br>
tablets). That presumably does save the state of all devices. However<br>
KVM/QEMU doesn't seem to include the appropriate virtual hardware<br>
emulation.<br>
<span class="HOEnZb"><font color="#888888"><br>
poc<br>
</font></span></blockquote></div><br></div>