To ensure that hibernate/resume *should* work properly in a KVM environment, I reproduced the above steps with Ubuntu 19.10 Eoan Desktop (x86_64). After applying one missing step (see below), hibernate-disk successfully hibernated the machine state in /swapfile and powered off the VM; restarting kvm resumed the state as expected.
The additionally necessary step to make resume work properly (hibernate- disk works with the above steps alone, but resume doesn't): -> add resume=/swapfile to the GRUB_CMDLINE_LINUX_DEFAULT string in /etc/default/grub; run update-grub -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1866984 Title: hibernate-disk resumes instantly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hibernate/+bug/1866984/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
