Reproducible from a clean install of focal daily within KVM (on an
x86_64 host):

wget 
http://cdimage.ubuntu.com/kubuntu/daily-live/20200311/focal-desktop-amd64.iso
qemu-img create -f qcow2 ubuntu.qcow2 10G
kvm -m 4096 -smp 2 -cdrom focal-desktop-amd64.iso ubuntu.qcow2
[do a minimal install]
[boot into the installed system:]
kvm -m 4096 -smp 2 ubuntu.qcow2
[within the virtual env:]
sudo -s
apt install hibernate
[make sure the swap file is large enough:]
swapoff -a
dd if=/dev/zero of=/swapfile bs=1M count=1500
mkswap /dev/swapfile
swapon -a
hibernate-disk

dmesg output attached.

** Attachment added: "dmesg output from within a KVM env"
   
https://bugs.launchpad.net/ubuntu/+source/hibernate/+bug/1866984/+attachment/5335772/+files/dmesg-kvm

-- 
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

Reply via email to