<div dir="ltr">In fact, i was too exited to test this, so using only ssh / vnc:<br><ul><li>If i let the vm "normal", it is freezed at restart of host</li><li>If i use virsh suspend / start, it is also freezed</li><li>But: if i re-enable suspend to ram, and put the windows to sleep, then the linux, restart the linux (waiting ~1-2minutes), restart the guest: it works \o/</li></ul><p>Actually, the vfio-pci devices work, gpu, ssd, and sata controller. I need to be in front to check if my mouse move and my keyboard work :)</p><p><br></p><p>This is brilliant! With the correct hooks on suspend / resume, it could one of the last limitation of this technology =)</p><p>I will share on github such hooks if they work.<br></p></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">--<div>Deldycke Quentin<br></div><div><div><br></div></div></div></div></div>
<br><div class="gmail_quote">On 19 February 2016 at 15:36, Rokas Kupstys <span dir="ltr"><<a href="mailto:rokups@zoho.com" target="_blank">rokups@zoho.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
You probably could if guest did not use any passed-through devices.
If it does use them there will be trouble.<div><div class="h5"><br>
<br>
<div>On 2016.02.19 16:29, Quentin Deldycke
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Hello,<br>
<br>
</div>
</div>
Is it possible to have the guest still working while
putting the host to sleep? And still working at restart?<br>
<br>
</div>
I can suspend my host, but guest is blocked when it is back.
For the moment, i start / shudown the guest any time i want
to put the host to sleep.<br>
<br>
</div>
<div>Do i need to suspend the guest also and make it restart
after?<br>
</div>
<div><br>
</div>
(Note that i forward quite a lot of stuff, R9 290 / nvme ssd /
sata controler / usb devices)<br>
<br>
</div>
I ask the question because of the mail:<br>
<a href="https://www.redhat.com/archives/vfio-users/2015-December/msg00059.html" target="_blank">https://www.redhat.com/archives/vfio-users/2015-December/msg00059.html</a><br clear="all">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div dir="ltr">--
<div>Deldycke Quentin<br>
</div>
<div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
vfio-users mailing list
<a href="mailto:vfio-users@redhat.com" target="_blank">vfio-users@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
<br></blockquote></div><br></div>