I run another Linux instance inside KVM on my laptop.
When I suspend-to-ram the laptop and wake it up again, the guest Linux starts consuming 100% CPU for some time (maybe proportional to the sleep time) and becomes completely irresponsive. After it finally unstucks itself, I see
BUG: soft lockup - CPU#0 stuck for 22s.
Why does it happen? How do I prevent this?
Note: The question is not about pausing (suspeding) the VM or guest system. It is about the disruption caused by host's suspend-to-ram.