Skip to contentSkip to conversation

New: rhel7.2 guest will hang after finishing save and restore operation

Bug 189941 [email protected] 1 participant 3 messages Dec 9, 2016 – Sep 18, 2017 KVM

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=189941

            Bug ID: 189941
           Summary: rhel7.2 guest will hang after finishing save and
                    restore operation
           Product: Virtualization
           Version: unspecified
    Kernel Version: 4.9.0-rc5
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: kvm
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Environment:
------------
Host OS (ia32/ia32e/IA64):ia32e
Guest OS (ia32/ia32e/IA64):ia32e
Guest OS Type (Linux/Windows):linux
kvm.git Commit:57d1da871b85c3a79e070d5cfc5ccb554ed839c4 qemu.git Commit:a92f7fe5a82ac9e8d127e92c5dce1a84064126da Host Kernel Version:4.9.0-rc5
Guest Kernel Version:
Hardware:hsw-ep bdw-ex bdw-ep skl-s knl-d

Bug detailed description:
--------------------------
After saving the rhel7.2 guest,the saved guest will hang occasionally while the restore operation been done.

Reproduce steps:
------------------------
1. create the guest:
qemu-system-x86_64 -enable-kvm -m 1024 -smp 4 -device virtio-net-pci,netdev=nic0,mac=00:16:3e:06:4e:13 -netdev tap,id=nic0,script=/etc/kvm/qemu-ifup -drive file=/root/ia32e_rhel7u2.qcow,if=none,id=virtio-disk0 -device virtio-blk-pci,drive=virtio-disk0
2. switch to qemu monitor and save the guest:
(1)press "ctrl+alt+2" to the qemu monitor screen
(2)migrate "exec:dd of=rhel7u2.img"
(3)press "q" to exit
3.restore the guest:
qemu-system-x86_64 -enable-kvm -m 1024 -smp 4 -incoming "exec:dd if=/root/rhel7u2.img" -device virtio-net-pci,netdev=nic0,mac=00:16:3e:06:4e:13 -netdev tap,id=nic0,script=/etc/kvm/qemu-ifup -drive file=/root/rhel7u2.qcow,if=none,id=virtio-disk0 -device virtio-blk-pci,drive=virtio-disk0 -serial file:serial.log

Current result:
--------------------
The guest hanging on the screen where it was saved while restoring it.

Expected result:
----------------
Guest restored successfully and can get IP and run as normal.

Add info:
[root@bdw-ep ~]# qemu-system-x86_64 --enable-kvm -m 1024 -smp 4 -incoming "exec:dd if=/root/rhel7u2.img" -device virtio-net-pci,netdev=nic0,mac=00:16:3e:06:4e:13 -netdev tap,id=nic0,script=/etc/kvm/qemu-ifup -drive file=/root/rhel7u2.qcow,if=none,id=virtio-disk0 -device virtio-blk-pci,drive=virtio-disk0 -serial file:serial.log Receiving block device images
Completed 100 %
Completed 100 %
2662186+0 records in
2662186+0 records out
1363039232 bytes (1.4 GB) copied, 3.33819 s, 408 MB/s

The guest serial log was empty while the guest hang on doing restoring process.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 189941] rhel7.2 guest will hang after finishing save and restore operation

https://bugzilla.kernel.org/show_bug.cgi?id=189941

Robert Ho ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #1 from Robert Ho ([email protected]) --- Environment:
------------
Host OS (ia32/ia32e/IA64):ia32e
Guest OS (ia32/ia32e/IA64):ia32e
Guest OS Type (Linux/Windows):linux
kvm.git Commit:712b12d7
qemu.git Commit:248b2373
Host Kernel Version:4.13.0_rc4
Guest Kernel Version:
Hardware:hsw-ep bdw-ex bdw-ep skl-4s knl-d

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.