> I'm curious:  Would hibernation work correctly if the VM were paused first?

I don't see how it would help. And I am not even sure what would you hibernate 
(HVM, PV, whole computer)

> Of course, in the current Qubes kernel configuration, Hibernation  support 
> isn't even enabled in the kernel

For hibernating the whole laptop, it is AFAIK not supported by Xen, so missing 
dom0 kernel support is not the main issue.

For hibernating standalone HVMs, you will likely use a different kernel than 
the one provided with Qubes. Note that you need the VM to be running for 
hibernation.

For hibernating standalone PVs, this might be an issue (likely with an easy 
solution). With a proper kernel, hibernation might work (provided you have swap 
on a correct partition – if not, you will not be able to resume ☺), but there 
might be some other issues. The one potential issue I see: With PVs, restore is 
a bit complicated due to memory management: The VM AFAIK sees whole memory 
space without address translation, but it is constrained what it can access. 
When restoring, it will usually need to remap all the addresses. This must be 
implemented (and utilized in DVMs), but I am not sure if this is implemented 
for hibernation or not. But if you cannot make it working easily, don't bother 
too much: The PV technology is going to be history* since Qubes 4.

For hibernating template-based VMs, we have some worse issues, as noted above.

Regards,
Vít Šesták 'v6ak'

*) Well, even in Qubes 4, it will be used for stubdoms, but I don't think it 
matters in this case.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/75389451-d8c9-4314-b9d1-7ebaec81e102%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to